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 1. Parameters
Data direction Parameter name Description

[in]

gpio_pin

Index of the GPIO pin to configure

Returns

Currently selected peripheral index on the specified pin.