|
SmartSnippets DA1459x SDK
|
Wakeup Controller configuration. More...
#include <hw_wkup_v2.h>
Data Fields | |
| uint8_t | debounce |
| uint32_t | pin_wkup_state [HW_GPIO_PORT_MAX] |
| uint32_t | pin_gpio_state [HW_GPIO_PORT_MAX] |
| uint32_t | pin_trigger [HW_GPIO_PORT_MAX] |
| uint32_t | gpio_sense [HW_GPIO_PORT_MAX] |
Wakeup Controller configuration.
| uint8_t wkup_config::debounce |
Debounce time in ms
| uint32_t wkup_config::gpio_sense[HW_GPIO_PORT_MAX] |
Gpio sensitivity in each port, 0 means level 1 means edge
| uint32_t wkup_config::pin_gpio_state[HW_GPIO_PORT_MAX] |
Indicates per GPIO port if the index of a bitmasked pin is '1' that we want to associate a gpio event to that pin, should be '0' otherwise.
| uint32_t wkup_config::pin_trigger[HW_GPIO_PORT_MAX] |
Pin triggers in each port, bitmasks each bit describes HI (when set to '0') or LOW (when set to '1') trigger of corresponding pin in port
| uint32_t wkup_config::pin_wkup_state[HW_GPIO_PORT_MAX] |
Indicates per GPIO port if the index of a bitmasked pin is '1' that we want to associate a key event to that pin, should be '0' otherwise.
1.8.16