External Interrupt Controller channel configuration structure.
Configuration structure for the edge detection mode of an external interrupt channel.
#include <extint.h>
Data Fields | |
enum extint_detect | detection_criteria |
Edge detection mode to use. More... | |
bool | filter_input_signal |
Filter the raw input signal to prevent noise from triggering an interrupt accidentally, using a three sample majority filter. More... | |
uint32_t | gpio_pin |
GPIO pin the NMI should be connected to. More... | |
uint32_t | gpio_pin_mux |
MUX position the GPIO pin should be configured to. More... | |
enum extint_pull | gpio_pin_pull |
Internal pull to enable on the input pin. More... | |
bool | wake_if_sleeping |
Wake up the device if the channel interrupt fires during sleep mode. More... | |
enum extint_detect extint_chan_conf::detection_criteria |
Edge detection mode to use.
Referenced by extint_chan_get_config_defaults(), extint_chan_set_config(), and trx_spi_init().
bool extint_chan_conf::filter_input_signal |
Filter the raw input signal to prevent noise from triggering an interrupt accidentally, using a three sample majority filter.
Referenced by extint_chan_get_config_defaults(), extint_chan_set_config(), and trx_spi_init().
uint32_t extint_chan_conf::gpio_pin |
GPIO pin the NMI should be connected to.
Referenced by extint_chan_get_config_defaults(), extint_chan_set_config(), and trx_spi_init().
uint32_t extint_chan_conf::gpio_pin_mux |
MUX position the GPIO pin should be configured to.
Referenced by extint_chan_get_config_defaults(), extint_chan_set_config(), and trx_spi_init().
enum extint_pull extint_chan_conf::gpio_pin_pull |
Internal pull to enable on the input pin.
Referenced by extint_chan_get_config_defaults(), extint_chan_set_config(), and trx_spi_init().
bool extint_chan_conf::wake_if_sleeping |
Wake up the device if the channel interrupt fires during sleep mode.
Referenced by extint_chan_get_config_defaults(), extint_chan_set_config(), and trx_spi_init().