RTEMS 6.1-rc6
|
GPIO Configuration Mode Elements values convention: 0x00WX00YZ. More...
Macros | |
#define | GPIO_MODE_INPUT MODE_INPUT |
#define | GPIO_MODE_OUTPUT_PP (MODE_OUTPUT | OUTPUT_PP) |
#define | GPIO_MODE_OUTPUT_OD (MODE_OUTPUT | OUTPUT_OD) |
#define | GPIO_MODE_AF_PP (MODE_AF | OUTPUT_PP) |
#define | GPIO_MODE_AF_OD (MODE_AF | OUTPUT_OD) |
#define | GPIO_MODE_ANALOG MODE_ANALOG |
#define | GPIO_MODE_IT_RISING (MODE_INPUT | EXTI_IT | TRIGGER_RISING) |
#define | GPIO_MODE_IT_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_FALLING) |
#define | GPIO_MODE_IT_RISING_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_RISING | TRIGGER_FALLING) |
#define | GPIO_MODE_EVT_RISING (MODE_INPUT | EXTI_EVT | TRIGGER_RISING) |
#define | GPIO_MODE_EVT_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_FALLING) |
#define | GPIO_MODE_EVT_RISING_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_RISING | TRIGGER_FALLING) |
GPIO Configuration Mode Elements values convention: 0x00WX00YZ.
#define GPIO_MODE_AF_OD (MODE_AF | OUTPUT_OD) |
Alternate Function Open Drain Mode
#define GPIO_MODE_AF_PP (MODE_AF | OUTPUT_PP) |
Alternate Function Push Pull Mode
#define GPIO_MODE_ANALOG MODE_ANALOG |
Analog Mode
#define GPIO_MODE_EVT_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_FALLING) |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_RISING (MODE_INPUT | EXTI_EVT | TRIGGER_RISING) |
External Event Mode with Rising edge trigger detection
#define GPIO_MODE_EVT_RISING_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_RISING | TRIGGER_FALLING) |
External Event Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_INPUT MODE_INPUT |
Input Floating Mode
#define GPIO_MODE_IT_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_FALLING) |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_RISING (MODE_INPUT | EXTI_IT | TRIGGER_RISING) |
External Interrupt Mode with Rising edge trigger detection
#define GPIO_MODE_IT_RISING_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_RISING | TRIGGER_FALLING) |
External Interrupt Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_OUTPUT_OD (MODE_OUTPUT | OUTPUT_OD) |
Output Open Drain Mode
#define GPIO_MODE_OUTPUT_PP (MODE_OUTPUT | OUTPUT_PP) |
Output Push Pull Mode