1.12.11.16 GPIO_PinSet Function
C
void GPIO_PinSet(GPIO_PIN pin)
Summary
Sets the selected pin.
Description
This function drives '1' on the selected I/O line/pin.
Precondition
Pin must be made output before setting
Parameters
Param | Description |
---|---|
pin | One of the IO pins from the enum GPIO_PIN |
Returns
None.
Example
GPIO_PinSet(GPIO_PIN_RB3);
Remarks
None.