1.3.19.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.