13.6.3.1.1 Function port_get_group_from_gpio_pin()
Retrieves the PORT module group instance from a given GPIO pin number.
PortGroup * port_get_group_from_gpio_pin( const uint8_t gpio_pin)
Retrieves the PORT module group instance associated with a given logical GPIO pin number.
Data direction | Parameter name | Description |
---|---|---|
[in] |
gpio_pin |
Index of the GPIO pin to convert |
Returns
Base address of the associated PORT module.