1.7.14.15 GPIO_PinToggle Function

C

void GPIO_PinToggle(GPIO_PIN pin)

Summary

Toggles the selected pin.

Description

This function toggles/inverts the value on the selected I/O line/pin.

Precondition

Pin must be made output before toggling.

Parameters

Param Description
pin One of the IO pins from the enum GPIO_PIN

Returns

None.

Example

GPIO_PinToggle(GPIO_PIN_RB3);

Remarks

None.