23.6.1.1 Struct system_pinmux_config

Configuration structure for a port pin instance. This structure should be initialized by the system_pinmux_get_config_defaults() function before being modified by the user application.

Table 23-1. Members
TypeNameDescription
enum system_pinmux_pin_dirdirection

Port buffer input/output direction

enum system_pinmux_pin_pullinput_pull

Logic level pull of the input buffer

uint8_tmux_position

MUX index of the peripheral that should control the pin, if peripheral control is desired. For GPIO use, this should be set to SYSTEM_PINMUX_GPIO.

boolpowersave

Enable lowest possible powerstate on the pin.

Note: All other configurations will be ignored, the pin will be disabled.