23.6.3.1.2 Function system_pinmux_pin_set_config()

Writes a Port pin configuration to the hardware module.

void system_pinmux_pin_set_config( const uint8_t gpio_pin, const struct system_pinmux_config *const config)

Writes out a given configuration of a Port pin configuration to the hardware module.

Note: If the pin direction is set as an output, the pull-up/pull-down input configuration setting is ignored.
Table 23-3. Parameters
Data directionParameter nameDescription

[in]

gpio_pin

Index of the GPIO pin to configure

[in]

config

Configuration settings for the pin