Prusa MINI Firmware overview
|
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_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 |
GPIO Configuration Mode Elements values convention: 0xX0yz00YZ.
#define GPIO_MODE_INPUT 0x00000000U |
Input Floating Mode
#define GPIO_MODE_OUTPUT_PP 0x00000001U |
Output Push Pull Mode
#define GPIO_MODE_OUTPUT_OD 0x00000011U |
Output Open Drain Mode
#define GPIO_MODE_AF_PP 0x00000002U |
Alternate Function Push Pull Mode
#define GPIO_MODE_AF_OD 0x00000012U |
Alternate Function Open Drain Mode
#define GPIO_MODE_ANALOG 0x00000003U |
Analog Mode
#define GPIO_MODE_IT_RISING 0x10110000U |
External Interrupt Mode with Rising edge trigger detection
#define GPIO_MODE_IT_FALLING 0x10210000U |
External Interrupt Mode with Falling edge trigger detection
#define GPIO_MODE_IT_RISING_FALLING 0x10310000U |
External Interrupt Mode with Rising/Falling edge trigger detection
#define GPIO_MODE_EVT_RISING 0x10120000U |
External Event Mode with Rising edge trigger detection
#define GPIO_MODE_EVT_FALLING 0x10220000U |
External Event Mode with Falling edge trigger detection
#define GPIO_MODE_EVT_RISING_FALLING 0x10320000U |
External Event Mode with Rising/Falling edge trigger detection