1.2.17.19 1.3.19.19 1.4.17.19 1.5.18.19 1.29.18.19 1.30.13.19 1.31.13.19 1.32.20.19 1.33.13.19 1.37.14.19 1.38.17.19 1.39.14.19 1.40.16.19 PORT_PinGPIOConfig Function
C
void PORT_PinGPIOConfig(PORT_PIN pin)
Summary
Configures the selected pin as GPIO
Description
This function configures the given port pin as GPIO.
Precondition
The PORT_Initialize() function should have been called.
Parameters
Param | Description |
---|---|
pin | One of the IO port pin from the enum PORT_PIN |
Returns
None.
Example
// Enable port pin PB01 as GPIO
PORT_PinGPIOConfig(PORT_PIN_PB01);
Remarks
None.