SYS GPIO

=Description= This command is used by the application processor to control the module's general purpose input/output pins (GPIOs). The module has four GPIOs, GPIO0..GPIO3.

=Library Function= moduleResult_t sysGpio(uint8_t operation, uint8_ value)

=Usage=

Fields:
 * Operation: Whether to read, write, or set direction. See table below.
 * Value: the value to read or write, as a bit mask. The lower nybble is normally used unless the operation is "Set input mode" in which case the upper nybble is used.

Fields:
 * Value: The Value after the requested operation was performed. For example, if reading GPIOs then the value field will contain the value read from the GPIOs.