GPIO Configuration Mode Elements values convention: 0xX0yz00YZ. More...
Macros | |
#define | GPIO_MODE_INPUT (0x00000000u) |
#define | GPIO_MODE_OUTPUT (0x00000001u) |
#define | GPIO_MODE_OUTPUT_OD (0x00000011u) |
#define | GPIO_MODE_IT_RISING (0x10110000u) |
#define | GPIO_MODE_IT_FALLING (0x10210000u) |
#define | GPIO_MODE_IT_RISING_FALLING (0x10310000u) |
#define | GPIO_MODE_IT_HIGH_LEVEL (0x10410000u) |
#define | GPIO_MODE_IT_LOW_LEVEL (0x10510000u) |
GPIO Configuration Mode Elements values convention: 0xX0yz00YZ.
#define GPIO_MODE_INPUT (0x00000000u) |
Input Floating Mode
#define GPIO_MODE_IT_FALLING (0x10210000u) |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_HIGH_LEVEL (0x10410000u) |
External Interrupt Mode with high level detection
#define GPIO_MODE_IT_LOW_LEVEL (0x10510000u) |
External Interrupt Mode with low level detection
#define GPIO_MODE_IT_RISING (0x10110000u) |
External Interrupt Mode with Rising edge trigger detection
#define GPIO_MODE_IT_RISING_FALLING (0x10310000u) |
External Interrupt Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_OUTPUT (0x00000001u) |
Output Push Pull Mode
#define GPIO_MODE_OUTPUT_OD (0x00000011u) |
Output Open Drain Mode