23.6.3.2.1 Function system_pinmux_get_group_from_gpio_pin()

Retrieves the PORT module group instance from a given GPIO pin number.

PortGroup * system_pinmux_get_group_from_gpio_pin( const uint8_t gpio_pin)

Retrieves the PORT module group instance associated with a given logical GPIO pin number.

Table 23-5. Parameters
Data directionParameter nameDescription

[in]

gpio_pin

Index of the GPIO pin to convert

Returns

Base address of the associated PORT module.