1.2.9.4 SYS_PORT_PinToggle Function
C
void SYS_PORT_PinToggle(SYS_PORT_PIN pin)
Summary
Toggles the selected pin.
Description
This function toggles/inverts the value on the selected I/O line/pin.
Precondition
Port Initialization must have been done using appropriate Initialize API call.
Parameters
Param | Description |
---|---|
pin | One of the IO pins from the enum SYS_PORT_PIN |
Returns
None.
Example
SYS_PORT_PinToggle(SYS_PORT_PIN_PB3);
Remarks
None.