2.49.37 GPIO_PinPwrGateConfig Function

C

void GPIO_PinPwrGateConfig(GPIO_PIN pin, GPIO_PWRGATE pwrGate)

Summary

Configures the power well to use for the given GPIO pin

Description

This API lets the application configure the power well for the given GPIO pin

Precondition

None

Parameters

ParamDescription
pinOne of the values from the enum GPIO_PIN
pwrGateOne of the values from the enum GPIO_PWRGATE

Returns

None

Example

GPIO_PinPwrGateConfig(GPIO_PIN_GPIO012, GPIO_PWR_VCC);

Remarks

None