1.2.17.6 PORT_PinSet Function

C

void PORT_PinSet(PORT_PIN pin)

Summary

Sets the selected pin.

Description

This function drives a logic 1 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_PinSet(PORT_PIN_PB03);

Remarks

None.