1.1.4.11 1.6.13.15 1.7.14.15 1.10.11.15 1.11.11.15 1.12.11.15 1.13.10.15 1.14.10.15 1.15.10.15 1.16.8.15 1.17.8.15 1.18.9.15 1.19.8.15 1.20.8.15 1.21.9.15 1.22.13.15 1.23.12.15 1.24.9.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.