9.6.4.2.1 Function extint_chan_get_config_defaults()

Initializes an External Interrupt channel configuration structure to defaults.

void extint_chan_get_config_defaults( struct extint_chan_conf *const config)

Initializes a given External Interrupt channel configuration structure to a set of known default values. This function should be called on all new instances of these configuration structures before being modified by the user application.

The default configuration is as follows:
  • Wake the device if an edge detection occurs whilst in sleep

  • Input filtering disabled

  • Internal pull-up enabled

  • Detect falling edges of a signal

Table 9-7. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values