1.21.9.17 GPIO_PinClear Function

C

void GPIO_PinClear(GPIO_PIN pin)

Summary

Clears the selected pin.

Description

This function drives '0' on the selected I/O line/pin.

Precondition

Pin must be made output before clearing.

Parameters

Param Description
pin One of the IO pins from the enum GPIO_PIN

Returns

None.

Example

GPIO_PinClear(GPIO_PIN_RB3);

Remarks

None.