Function port_pin_get_output_level()

Retrieves the state of a port pin that is configured as an output.

bool port_pin_get_output_level(
		const uint8_t gpio_pin)

Reads the current logical output level of a port pin and returns the current level as a Boolean value.

Table 1. Parameters
Data direction Parameter name Description

[in]

gpio_pin

Index of the GPIO pin to read

Returns

Status of the port pin's output buffer.