13.6.3.2.1 Function port_get_config_defaults()

Initializes a Port pin/group configuration structure to defaults.

void port_get_config_defaults( struct port_config *const config)

Initializes a given Port pin/group 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:
  • Input mode with internal pull-up enabled

Table 13-8. Parameters
Data directionParameter nameDescription

[out]

config

Configuration structure to initialize to default values