1.2.17.5 1.3.19.5 1.4.17.5 1.5.18.5 1.29.18.5 1.30.13.5 1.31.13.5 1.32.20.5 1.33.13.5 1.37.14.5 1.38.17.5 1.39.14.5 1.40.16.5 PORT_PinToggle Function

C

void PORT_PinToggle(PORT_PIN pin)

Summary

Toggles the selected pin.

Description

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

Precondition

The PORT_Initialize() function should have been called.

Parameters

Param Description
pin One of the IO pins from the enum PORT_PIN.

Returns

None.

Example

PORT_PinToggle(PORT_PIN_PB03);

Remarks

None.