Go to the source code of this file.
Functions | |
| int | Io_Start (int index, bool lock) |
| Get access to an IO line, possibly locking it. | |
| int | Io_Stop (int index) |
| Release your lock on an IO line, possibly deactivating it. | |
| bool | Io_GetActive (int index) |
| Read whether an IO pin is in use. | |
| int | Io_SetDirection (int index, bool output) |
| Set whether an IO line is an output or an input. | |
| bool | Io_GetDirection (int index) |
| Read whether an IO line is an output or an input. | |
| int | Io_SetValue (int index, bool value) |
| Turn an IO line on or off. | |
| bool | Io_GetValue (int index) |
| Read whether an IO line, presumably set as an output, is on or off. | |
| int | Io_SetPeripheralA (int index) |
| Configure an IO line to be part of its peripheral A. | |
| int | Io_SetPeripheralB (int index) |
| Configure an IO line to be part of its peripheral B. | |
| int | Io_SetPio (int index, bool enable) |
| Configure an IO line to be a general purpose IO. | |
| bool | Io_GetPio (int index) |
| Read whether an IO line is configured as a general purpose IO. | |
| int | Io_SetPullup (int index, bool enable) |
| Set the pullup resistor for an IO line on or off. | |
| bool | Io_GetPullup (int index) |
| Read whether the pullup resistor for an IO line on or off. | |
| void | Io_SetValueBits (longlong bits, longlong values) |
| Set the values of a batch of IO lines at once. | |
| void | Io_SetDirectionBits (longlong bits, bool output) |
| Set a batch of IO lines to a particular direction (in or out) at once. | |
| void | Io_SetPioBits (longlong bits, bool enable) |
| Set a batch of IO lines to being general IOs at once. | |
| longlong | Io_GetValueBits () |
| Get a bitmask with the output values of all the IO lines. | |
| longlong | Io_GetPullupBits () |
| Get a bitmask with the state of the internal pullup for all the IO lines. | |
| longlong | Io_GetPioBits () |
| Get a bitmask indicating PIO configuration for all the IO lines. | |
| longlong | Io_GetDirectionBits () |
| Get a bitmask indicating the in-or-out configuration for all the IO lines. | |
Definition in file io.c.