Function port_pin_set_output_level()

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

void port_pin_set_output_level(
		const uint8_t gpio_pin,
		const bool level)

Sets the current output level of a port pin to a given logic level.

Table 1. Parameters
Data direction Parameter name Description

[in]

gpio_pin

Index of the GPIO pin to write to

[in]

level

Logical level to set the given pin to