Device Manager GPIO#
Overview#
The Device Manager GPIO component defines the macros, structures, and enums that are used common across GPIO driver and peripheral.
Modules#
Enumerations#
GPIO ports IDs.
GPIO Pin Modes.
GPIO Interrupt Configuration flags.
Macros#
DEFINES **********************************.
Validation of flag.
Define for available ports and pins.
Enumeration Documentation#
sl_gpio_port_t#
sl_gpio_port_t
GPIO ports IDs.
Enumerator | |
---|---|
SL_GPIO_PORT_A | |
SL_GPIO_PORT_B | |
SL_GPIO_PORT_C | |
SL_GPIO_PORT_D | |
SL_GPIO_PORT_E | |
SL_GPIO_PORT_F | |
SL_GPIO_PORT_G | |
SL_GPIO_PORT_H | |
SL_GPIO_PORT_I | |
SL_GPIO_PORT_J | |
SL_GPIO_PORT_K |
58
of file platform/service/device_manager/inc/sl_device_gpio.h
sl_gpio_mode_t#
sl_gpio_mode_t
GPIO Pin Modes.
Enumerator | |
---|---|
SL_GPIO_MODE_DISABLED | Input disabled. Pull-up if DOUT is set. |
SL_GPIO_MODE_INPUT | Input enabled. Filter if DOUT is set. |
SL_GPIO_MODE_INPUT_PULL | Input enabled. DOUT determines pull direction. |
SL_GPIO_MODE_INPUT_PULL_FILTER | Input enabled with filter. DOUT determines pull direction. |
SL_GPIO_MODE_PUSH_PULL | Push-pull output. |
SL_GPIO_MODE_PUSH_PULL_ALTERNATE | Push-pull using alternate control. |
SL_GPIO_MODE_WIRED_OR | Wired-or output. |
SL_GPIO_MODE_WIRED_OR_PULL_DOWN | Wired-or output with pull-down. |
SL_GPIO_MODE_WIRED_AND | Open-drain output. |
SL_GPIO_MODE_WIRED_AND_FILTER | Open-drain output with filter. |
SL_GPIO_MODE_WIRED_AND_PULLUP | Open-drain output with pull-up. |
SL_GPIO_MODE_WIRED_AND_PULLUP_FILTER | Open-drain output with filter and pull-up. |
SL_GPIO_MODE_WIRED_AND_ALTERNATE | Open-drain output using alternate control. |
SL_GPIO_MODE_WIRED_AND_ALTERNATE_FILTER | Open-drain output using alternate control with filter. |
SL_GPIO_MODE_WIRED_AND_ALTERNATE_PULLUP | Open-drain output using alternate control with pull-up. |
SL_GPIO_MODE_WIRED_AND_ALTERNATE_PULLUP_FILTER | Open-drain output using alternate control with filter and pull-up. |
73
of file platform/service/device_manager/inc/sl_device_gpio.h
sl_gpio_interrupt_flag_t#
sl_gpio_interrupt_flag_t
GPIO Interrupt Configuration flags.
Enumerator | |
---|---|
SL_GPIO_INTERRUPT_NO_EDGE | No edge configured. |
SL_GPIO_INTERRUPT_RISING_EDGE | Interrupt on rising edge. |
SL_GPIO_INTERRUPT_FALLING_EDGE | Interrupt on falling edge. |
SL_GPIO_INTERRUPT_RISING_FALLING_EDGE | Interrupt on both rising and falling edge. |
124
of file platform/service/device_manager/inc/sl_device_gpio.h