23.6.3.3.1 Function system_pinmux_pin_get_mux_position()

Retrieves the currently selected MUX position of a logical pin.

uint8_t system_pinmux_pin_get_mux_position( const uint8_t gpio_pin)

Retrieves the selected MUX peripheral on a given logical GPIO pin.

Table 23-7. Parameters
Data directionParameter nameDescription

[in]

gpio_pin

Index of the GPIO pin to configure

Returns

Currently selected peripheral index on the specified pin.