Struct extint_nmi_conf

Configuration structure for the edge detection mode of an external interrupt NMI channel.

Table 1. Members
Type Name Description
enum extint_detect detection_criteria

Edge detection mode to use. Not all devices support all possible detection modes for NMIs.

bool filter_input_signal

Filter the raw input signal to prevent noise from triggering an interrupt accidentally, using a three sample majority filter

uint32_t gpio_pin

GPIO pin the NMI should be connected to

uint32_t gpio_pin_mux

MUX position the GPIO pin should be configured to

enum extint_pull gpio_pin_pull

Internal pull to enable on the input pin