Microchip® Advanced Software Framework

extint_chan_conf Struct Reference

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...
 

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 configure_eic(), configure_extint(), configure_intn(), extint_chan_get_config_defaults(), extint_chan_set_config(), run_16bit_capture_and_compare_test(), run_capture_and_compare_test(), run_faultn_test(), and run_faultx_test().

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(), run_16bit_capture_and_compare_test(), and run_capture_and_compare_test().