Jump to main content

##

# 2.86.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.