lipengfei28 commented on code in PR #17377: URL: https://github.com/apache/nuttx/pull/17377#discussion_r2564382384
########## include/nuttx/arch.h: ########## @@ -92,6 +92,12 @@ * Pre-processor definitions ****************************************************************************/ +#define IRQ_RISING_EDGE 0x00 +#define IRQ_FALLING_EDGE 0x01 +#define IRQ_BOTH_EDGE 0x02 +#define IRQ_HIGH_LEVEL 0x03 +#define IRQ_LOW_LEVEL 0x04 Review Comment: hi anchao #define IRQ_RISING_EDGE 0x00 #define IRQ_FALLING_EDGE 0x01 #define IRQ_BOTH_EDGE 0x02 #define IRQ_HIGH_LEVEL 0x03 #define IRQ_LOW_LEVEL 0x04 I think these macros can clearly illustrate the types of interrupts. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
