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

[in]

gpio_pin

Index of the GPIO pin to convert

Returns

Base address of the associated PORT module.