mikroSDK Reference Manual
|
GPIO Configuration Mode Elements values convention: 0xX0yz00YZ. More...
Macros | |
#define | GPIO_MODE_INPUT 0x00000000u |
#define | GPIO_MODE_OUTPUT_PP 0x00000001u |
#define | GPIO_MODE_OUTPUT_OD 0x00000011u |
#define | GPIO_MODE_AF_PP 0x00000002u |
#define | GPIO_MODE_AF_OD 0x00000012u |
#define | GPIO_MODE_AF_INPUT GPIO_MODE_INPUT |
#define | GPIO_MODE_ANALOG 0x00000003u |
#define | GPIO_MODE_IT_RISING 0x10110000u |
#define | GPIO_MODE_IT_FALLING 0x10210000u |
#define | GPIO_MODE_IT_RISING_FALLING 0x10310000u |
#define | GPIO_MODE_EVT_RISING 0x10120000u |
#define | GPIO_MODE_EVT_FALLING 0x10220000u |
#define | GPIO_MODE_EVT_RISING_FALLING 0x10320000u |
#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) |
#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) |
#define | GPIO_MODE_INPUT ((uint32_t)0x00000000U) |
#define | GPIO_MODE_OUTPUT_PP ((uint32_t)0x00000001U) |
#define | GPIO_MODE_OUTPUT_OD ((uint32_t)0x00000011U) |
#define | GPIO_MODE_AF_PP ((uint32_t)0x00000002U) |
#define | GPIO_MODE_AF_OD ((uint32_t)0x00000012U) |
#define | GPIO_MODE_ANALOG ((uint32_t)0x00000003U) |
#define | GPIO_MODE_IT_RISING ((uint32_t)0x10110000U) |
#define | GPIO_MODE_IT_FALLING ((uint32_t)0x10210000U) |
#define | GPIO_MODE_IT_RISING_FALLING ((uint32_t)0x10310000U) |
#define | GPIO_MODE_EVT_RISING ((uint32_t)0x10120000U) |
#define | GPIO_MODE_EVT_FALLING ((uint32_t)0x10220000U) |
#define | GPIO_MODE_EVT_RISING_FALLING ((uint32_t)0x10320000U) |
#define | GPIO_MODE_INPUT (0x00000000U) |
#define | GPIO_MODE_OUTPUT_PP (0x00000001U) |
#define | GPIO_MODE_OUTPUT_OD (0x00000011U) |
#define | GPIO_MODE_AF_PP (0x00000002U) |
#define | GPIO_MODE_AF_OD (0x00000012U) |
#define | GPIO_MODE_ANALOG (0x00000003U) |
#define | GPIO_MODE_IT_RISING (0x11110000U) |
#define | GPIO_MODE_IT_FALLING (0x11210000U) |
#define | GPIO_MODE_IT_RISING_FALLING (0x11310000U) |
#define | GPIO_MODE_EVT_RISING (0x11120000U) |
#define | GPIO_MODE_EVT_FALLING (0x11220000U) |
#define | GPIO_MODE_EVT_RISING_FALLING (0x11320000U) |
#define GPIO_MODE_AF_INPUT GPIO_MODE_INPUT |
Alternate Function Input Mode
#define GPIO_MODE_AF_OD 0x00000012u |
Alternate Function Open Drain Mode
#define GPIO_MODE_AF_OD (MODE_AF | OUTPUT_OD) |
Alternate Function Open Drain Mode
#define GPIO_MODE_AF_OD (MODE_AF | OUTPUT_OD) |
Alternate Function Open Drain Mode
#define GPIO_MODE_AF_OD ((uint32_t)0x00000012U) |
Alternate Function Open Drain Mode
#define GPIO_MODE_AF_OD (0x00000012U) |
Alternate Function Open Drain Mode
#define GPIO_MODE_AF_PP 0x00000002u |
Alternate Function Push Pull Mode
#define GPIO_MODE_AF_PP (MODE_AF | OUTPUT_PP) |
Alternate Function Push Pull Mode
#define GPIO_MODE_AF_PP (MODE_AF | OUTPUT_PP) |
Alternate Function Push Pull Mode
#define GPIO_MODE_AF_PP ((uint32_t)0x00000002U) |
Alternate Function Push Pull Mode
#define GPIO_MODE_AF_PP (0x00000002U) |
Alternate Function Push Pull Mode
#define GPIO_MODE_ANALOG 0x00000003u |
Analog Mode
#define GPIO_MODE_ANALOG MODE_ANALOG |
Analog Mode
#define GPIO_MODE_ANALOG MODE_ANALOG |
Analog Mode
#define GPIO_MODE_ANALOG ((uint32_t)0x00000003U) |
Analog Mode
#define GPIO_MODE_ANALOG (0x00000003U) |
Analog Mode
#define GPIO_MODE_EVT_FALLING 0x10220000u |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_FALLING) |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_FALLING) |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_FALLING ((uint32_t)0x10220000U) |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_FALLING (0x11220000U) |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_RISING 0x10120000u |
External Event Mode with Rising 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 (MODE_INPUT | EXTI_EVT | TRIGGER_RISING) |
External Event Mode with Rising edge trigger detection
#define GPIO_MODE_EVT_RISING ((uint32_t)0x10120000U) |
External Event Mode with Rising edge trigger detection
#define GPIO_MODE_EVT_RISING (0x11120000U) |
External Event Mode with Rising edge trigger detection
#define GPIO_MODE_EVT_RISING_FALLING 0x10320000u |
External Event Mode with Rising/Falling 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_EVT_RISING_FALLING (MODE_INPUT | EXTI_EVT | TRIGGER_RISING | TRIGGER_FALLING) |
External Event Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_EVT_RISING_FALLING ((uint32_t)0x10320000U) |
External Event Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_EVT_RISING_FALLING (0x11320000U) |
External Event Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_INPUT 0x00000000u |
Input Floating Mode
#define GPIO_MODE_INPUT MODE_INPUT |
Input Floating Mode
#define GPIO_MODE_INPUT MODE_INPUT |
Input Floating Mode
#define GPIO_MODE_INPUT ((uint32_t)0x00000000U) |
Input Floating Mode
#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_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_FALLING) |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_FALLING) |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_FALLING ((uint32_t)0x10210000U) |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_FALLING (0x11210000U) |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_RISING 0x10110000u |
External Interrupt Mode with Rising 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 (MODE_INPUT | EXTI_IT | TRIGGER_RISING) |
External Interrupt Mode with Rising edge trigger detection
#define GPIO_MODE_IT_RISING ((uint32_t)0x10110000U) |
External Interrupt Mode with Rising edge trigger detection
#define GPIO_MODE_IT_RISING (0x11110000U) |
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_IT_RISING_FALLING (MODE_INPUT | EXTI_IT | TRIGGER_RISING | TRIGGER_FALLING) |
External Interrupt Mode with Rising/Falling 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_IT_RISING_FALLING ((uint32_t)0x10310000U) |
External Interrupt Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_IT_RISING_FALLING (0x11310000U) |
External Interrupt Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_OUTPUT_OD 0x00000011u |
Output Open Drain Mode
#define GPIO_MODE_OUTPUT_OD (MODE_OUTPUT | OUTPUT_OD) |
Output Open Drain Mode
#define GPIO_MODE_OUTPUT_OD (MODE_OUTPUT | OUTPUT_OD) |
Output Open Drain Mode
#define GPIO_MODE_OUTPUT_OD ((uint32_t)0x00000011U) |
Output Open Drain Mode
#define GPIO_MODE_OUTPUT_OD (0x00000011U) |
Output Open Drain Mode
#define GPIO_MODE_OUTPUT_PP 0x00000001u |
Output Push Pull Mode
#define GPIO_MODE_OUTPUT_PP (MODE_OUTPUT | OUTPUT_PP) |
Output Push Pull Mode
#define GPIO_MODE_OUTPUT_PP (MODE_OUTPUT | OUTPUT_PP) |
Output Push Pull Mode
#define GPIO_MODE_OUTPUT_PP ((uint32_t)0x00000001U) |
Output Push Pull Mode
#define GPIO_MODE_OUTPUT_PP (0x00000001U) |
Output Push Pull Mode