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

enum extint_detect extint_chan_conf::detection_criteria
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 _usb_vbus_config(), extint_chan_get_config_defaults(), extint_chan_set_config(), ui_init(), and usb_id_config().

uint32_t extint_chan_conf::gpio_pin

GPIO pin the NMI should be connected to.

Referenced by _usb_vbus_config(), extint_chan_get_config_defaults(), extint_chan_set_config(), ui_init(), and usb_id_config().

uint32_t extint_chan_conf::gpio_pin_mux

MUX position the GPIO pin should be configured to.

Referenced by _usb_vbus_config(), extint_chan_get_config_defaults(), extint_chan_set_config(), ui_init(), and usb_id_config().

enum extint_pull extint_chan_conf::gpio_pin_pull

Internal pull to enable on the input pin.

Referenced by _usb_vbus_config(), extint_chan_get_config_defaults(), extint_chan_set_config(), and ui_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(), and extint_chan_set_config().