2.49.38 GPIO_PinSlewRateConfig Function

C

void GPIO_PinSlewRateConfig(GPIO_PIN pin, GPIO_SLEW_RATE slewRate)

Summary

Configures the slew rate on the given GPIO pin

Description

This API lets the application configure the slew rate on the given GPIO pin

Precondition

None

Parameters

ParamDescription
pinOne of the values from the enum GPIO_PIN
slewRateOne of the values from the enum GPIO_SLEW_RATE

Returns

None

Example

GPIO_PinSlewRateConfig(GPIO_PIN_GPIO012, GPIO_SLEW_RATE_FAST);

Remarks

None