1.1.4.5 void GPIO_PinInputConfig(GPIO_PIN pin, GPIO_INP_READ inpEn) Function

C

void GPIO_PinInputConfig(GPIO_PIN pin, GPIO_INP_READ inpEn)

Summary

Enables or disables input on the given GPIO pin

Description

Based on the value of the GPIO_INP_READ enum, enables or disables input on the given GPIO pin

Precondition

None.

Parameters

Param Description
pin One of the GPIO pins from the enum GPIO_PIN
inpEn One of the values from the enum GPIO_INP_READ

Returns

None

Example

GPIO_PinInputConfig(GPIO_PIN_GPIO012, GPIO_INP_DISABLE);

Remarks

None