Types
Hardware GPIO data types. More...
Enumerations |
|
enum |
gos_gpio_config_t
{
GOS_GPIO_INPUT_PULL_UP , GOS_GPIO_INPUT_PULL_DOWN , GOS_GPIO_INPUT_HIGH_IMPEDANCE , GOS_GPIO_OUTPUT_PUSH_PULL , GOS_GPIO_OUTPUT_OPEN_DRAIN_NO_PULL , GOS_GPIO_OUTPUT_OPEN_DRAIN_PULL_UP , GOS_GPIO_CONFIG_NONE } |
GPIO direction (i.e. function) type.
More...
|
|
enum |
gos_gpio_irq_trigger_t
{
GOS_GPIO_TRIGGER_RISING_EDGE = 0x1, GOS_GPIO_TRIGGER_FALLING_EDGE = 0x2, GOS_GPIO_TRIGGER_BOTH_EDGES = GOS_GPIO_TRIGGER_RISING_EDGE | GOS_GPIO_TRIGGER_FALLING_EDGE } |
GPIO external interrupt trigger edge.
More...
|
|
enum |
gos_gpio_t
{
GOS_GPIO_0 , GOS_GPIO_MAX } |
Detailed Description
Hardware GPIO data types.
Enumeration Type Documentation
◆ gos_gpio_config_t
enum gos_gpio_config_t |
GPIO direction (i.e. function) type.
◆ gos_gpio_irq_trigger_t
◆ gos_gpio_t
enum gos_gpio_t |
Gecko OS GPIO ID
- Examples:
- peripheral/gpio_irq/main.c .