SmartSnippets DA1459x SDK
Data Fields

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]
 

Detailed Description

Wakeup Controller configuration.

Field Documentation

◆ debounce

uint8_t wkup_config::debounce

Debounce time in ms

◆ gpio_sense

uint32_t wkup_config::gpio_sense[HW_GPIO_PORT_MAX]

Gpio sensitivity in each port, 0 means level 1 means edge

◆ pin_gpio_state

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.

◆ pin_trigger

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

◆ pin_wkup_state

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.


The documentation for this struct was generated from the following file: