Trident IoT Z-Wave SDK
 
Loading...
Searching...
No Matches
_gpio_config_t Struct Reference

Defines the configuration of a GPIO. More...

#include <apps_hw.h>

Data Fields

uint8_t gpio_no
 GPIO number.
 
low_power_wakeup_cfg_t low_power
 GPIO low power configuration.
 
uint8_t on_value
 Defines "on" as either 1 or 0.
 
tr_zw_event_id_t short_event
 The event to trigger on a "short" press.
 
tr_zw_event_id_t long_event
 The event to trigger on a "long" press.
 
tr_zw_event_id_t hold_event
 The event to trigger when a button is held.
 
tr_zw_event_id_t release_event
 The event to trigger when a button is released.
 

Detailed Description

Defines the configuration of a GPIO.

Field Documentation

◆ gpio_no

uint8_t _gpio_config_t::gpio_no

GPIO number.

◆ hold_event

tr_zw_event_id_t _gpio_config_t::hold_event

The event to trigger when a button is held.

◆ long_event

tr_zw_event_id_t _gpio_config_t::long_event

The event to trigger on a "long" press.

◆ low_power

low_power_wakeup_cfg_t _gpio_config_t::low_power

GPIO low power configuration.

◆ on_value

uint8_t _gpio_config_t::on_value

Defines "on" as either 1 or 0.

◆ release_event

tr_zw_event_id_t _gpio_config_t::release_event

The event to trigger when a button is released.

◆ short_event

tr_zw_event_id_t _gpio_config_t::short_event

The event to trigger on a "short" press.


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