23.6.3.1.1 Function system_pinmux_get_config_defaults()

Initializes a Port pin configuration structure to defaults.

void system_pinmux_get_config_defaults( struct system_pinmux_config *const config)

Initializes a given Port pin 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:
  • Non peripheral (i.e. GPIO) controlled

  • Input mode with internal pull-up enabled

Table 23-2. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values