STM8L15x Standard Peripherals Drivers
|
Bits definitions:
- Bit 7: 0 = INPUT mode 1 = OUTPUT mode 1 = PULL-UP (input) or PUSH-PULL (output)
- Bit 5: 0 = No external interrupt (input) or No slope control (output) 1 = External interrupt (input) or Slow control enabled (output)
- Bit 4: 0 = Low level (output) 1 = High level (output push-pull) or HI-Z (output open-drain)
Enumerations | |
enum | GPIO_Mode_TypeDef { GPIO_Mode_In_FL_No_IT = (uint8_t)0x00, GPIO_Mode_In_PU_No_IT = (uint8_t)0x40, GPIO_Mode_In_FL_IT = (uint8_t)0x20, GPIO_Mode_In_PU_IT = (uint8_t)0x60, GPIO_Mode_Out_OD_Low_Fast = (uint8_t)0xA0, GPIO_Mode_Out_PP_Low_Fast = (uint8_t)0xE0, GPIO_Mode_Out_OD_Low_Slow = (uint8_t)0x80, GPIO_Mode_Out_PP_Low_Slow = (uint8_t)0xC0, GPIO_Mode_Out_OD_HiZ_Fast = (uint8_t)0xB0, GPIO_Mode_Out_PP_High_Fast = (uint8_t)0xF0, GPIO_Mode_Out_OD_HiZ_Slow = (uint8_t)0x90, GPIO_Mode_Out_PP_High_Slow = (uint8_t)0xD0 } |
Detailed Description
Bits definitions:
- Bit 7: 0 = INPUT mode 1 = OUTPUT mode 1 = PULL-UP (input) or PUSH-PULL (output)
- Bit 5: 0 = No external interrupt (input) or No slope control (output) 1 = External interrupt (input) or Slow control enabled (output)
- Bit 4: 0 = Low level (output) 1 = High level (output push-pull) or HI-Z (output open-drain)
Enumeration Type Documentation
enum GPIO_Mode_TypeDef |
Definition at line 59 of file stm8l15x_gpio.h.