Azure Sphere MT3620 M4 API Reference Manual
|
This section introduces the Macro definition. More...
This section introduces the Macro definition.
It is used as GPIOIF M-HAL's API error return type and GPIOIF parameter judgemental value.
Macros | |
#define | GPIOIF_EINVAL 1 |
Indicate that a wrong parameter is given. | |
#define | GPIOIF_EPTR 2 |
Invalid argument, it means the pointer is NULL. | |
#define | MAX_FIFO_ENTRY_CNT 16 |
This defines GPIOIF Capture Mode maximum available FIFO entry counter. | |
#define | MAX_CTRL_SETTING 6 |
This defines maximum control edge type number of GPIOIF Event Counter. | |
#define | MAX_MIN_PURSE_WIDTH 0x3fff |
This defines maximum minimum purse width of GPIO_0 de-glitch. | |
#define | IRQ_GPIOIF_EVENT_C_R_LOW (0) |
GPIOIF interrupt when event counter reaches low limit. | |
#define | IRQ_GPIOIF_EVENT_C_R_HIGH (1) |
GPIOIF interrupt when event counter reaches highlimit. | |
#define | IRQ_GPIOIF_RESET_DONE (2) |
GPIOIF interrupt when GPIO_2 reset asserted. | |
#define | IRQ_GPIOIF_EVENT_C_OVERFLOW (8) |
GPIOIF interrupt when event counter overflow. | |
#define | IRQ_GPIOIF_EVENT_C_UNDERFLOW (9) |
GPIOIF interrupt when event counter underflow. | |
#define | IRQ_GPIOIF_W_CFIFO0_WHEN_FULL (12) |
GPIOIF interrupt when Writing capture value to capture FIFO 0 which is full(GPIO_0) | |
#define | IRQ_GPIOIF_W_CFIFO1_WHEN_FULL (13) |
GPIOIF interrupt when Writing capture value to capture FIFO 1 which is full(GPIO_1) | |
#define | IRQ_GPIOIF_W_GPIO_2_RESET_CFIFO0_WHEN_FULL (14) |
GPIOIF interrupt when Writing GPIO_2 reset notification to capture FIFO 0 which is full(GPIO_0) | |
#define | IRQ_GPIOIF_W_GPIO_2_RESET_CFIFO1_WHEN_FULL (15) |
GPIOIF interrupt when Writing GPIO_2 reset notification to capture FIFO 1 which is full(GPIO_1) | |
#define | IRQ_GPIOIF_CFIFO0_NOT_EMPTY (16) |
GPIOIF interrupt when capture FIFO 0 which is not empty. | |
#define | IRQ_GPIOIF_CFIFO1_NOT_EMPTY (17) |
GPIOIF interrupt when capture FIFO 1 which is not empty. | |
#define | IRQ_GPIOIF_R_CFIFO0_WHENEMPTY (24) |
GPIOIF interrupt when read capture FIFO 0 which is empty. | |
#define | IRQ_GPIOIF_R_CFIFO1_WHENEMPTY (25) |
GPIOIF interrupt when read capture FIFO 1 which is empty. | |
#define | IRQ_GPIOIF_ALL_ENABLE |
#define IRQ_GPIOIF_ALL_ENABLE |