2.51.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
| Param | Description |
|---|---|
| pin | One of the values from the enum GPIO_PIN |
| slewRate | One of the values from the enum GPIO_SLEW_RATE |
Returns
None
Example
GPIO_PinSlewRateConfig(GPIO_PIN_GPIO012, GPIO_SLEW_RATE_FAST);
Remarks
None
