1.8.13.12 1.25.10.12 1.26.9.12 1.27.11.12 1.28.13.12 1.34.10.12 1.35.8.12 1.36.11.12 1.41.12.12 1.42.10.12 PIO_PinWrite Function

C

void PIO_PinWrite(PIO_PIN pin, bool value)

Summary

Writes the selected pin.

Description

This function writes/drives the "value" on the selected I/O line/pin.

Precondition

The desired pin must be configured as an output pin in MHC Pin Manager. PIO_Initialize() must have been called.

Parameters

Param Description
pin One of the IO pins from the enum PIO_PIN
value value to be written on the selected pin:
- true set pin to high (1).
- false clear pin to low (0).

Returns

None.

Example

PIO_PinWrite(PIO_PIN_PB3, true);

Remarks

None.