gusimplewhiteboard
|
Simulated I/O pins. More...
#include <wb_io_pins.h>
Public Member Functions | |
ARRAY_PROPERTY (uint8_t, pins,(sizeof(gu_simple_message))) wb_io_pins(int value=0) | |
bit vector of I/O pin values More... | |
Simulated I/O pins.
This is implemented as a bit vector with one bit per pin and controlled by the following macros:
IO_PIN_CLR(s, n) set pin n
to zero (false, clear) IO_PIN_SET(s, n) set pin n
to one (true, set) IO_PIN_GET(s, n) check if pin n
is set
Definition at line 80 of file wb_io_pins.h.
|
inlinepure virtual |
bit vector of I/O pin values
convenience constructor: clears all I/O pins
Definition at line 83 of file wb_io_pins.h.