1.2.9.1 SYS_PORT_PinWrite Function
1.2.9.1 C
void SYS_PORT_PinWrite(SYS_PORT_PIN pin, bool value)
1.2.9.1 Summary
Writes to the selected pin.
1.2.9.1 Description
This function writes/drives the "value" on the selected I/O line/pin.
1.2.9.1 Precondition
Port Initialization must have been done using appropriate Initialize API call.
1.2.9.1 Parameters
| Parameters | Description |
|---|---|
| pin | One of the IO pins from the enum SYS_PORT_PIN |
| value | Value to be written on the selected
pin:
|
1.2.9.1 Returns
None.
1.2.9.1 Example
SYS_PORT_PinWrite(SYS_PORT_PIN_PB3, true);
1.2.9.1 Remarks
None.
