Jump to main content

##

# 2.51.2 GPIO_DrvStrConfig Function

## C

    void GPIO_DrvStrConfig(GPIO_PIN pin, GPIO_DRV drvStrn)

## Summary

Configures the drive strength on the given GPIO pin

## Description

This API lets the application configure the drive strength on the given GPIO pin

## Precondition

None

## Parameters

Param | Description
--- | ---
pin | One of the values from the enum GPIO_PIN
drvStrn | One of the values from the enum GPIO_DRV

## Returns

None

## Example

    GPIO_DrvStrConfig(GPIO_PIN_GPIO012, GPIO_DRV_STR_LEVEL1);

## Remarks

None