External Interrupt Controller NMI configuration structure.
Configuration structure for the edge detection mode of an external interrupt NMI 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... | |
enum extint_detect extint_nmi_conf::detection_criteria |
Edge detection mode to use.
Not all devices support all possible detection modes for NMIs.
Referenced by extint_nmi_get_config_defaults(), and extint_nmi_set_config().
bool extint_nmi_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_nmi_get_config_defaults(), and extint_nmi_set_config().
uint32_t extint_nmi_conf::gpio_pin |
GPIO pin the NMI should be connected to.
Referenced by extint_nmi_get_config_defaults(), and extint_nmi_set_config().
uint32_t extint_nmi_conf::gpio_pin_mux |
MUX position the GPIO pin should be configured to.
Referenced by extint_nmi_get_config_defaults(), and extint_nmi_set_config().
enum extint_pull extint_nmi_conf::gpio_pin_pull |
Internal pull to enable on the input pin.
Referenced by extint_nmi_get_config_defaults(), and extint_nmi_set_config().