gusimplewhiteboard
|
Finite State Machine Control and Status information. More...
#include <wb_fsm_control_status.h>
Public Member Functions | |
ARRAY_PROPERTY (uint8_t, fsms,(sizeof(gu_simple_message))) wb_fsm_control_status(guWhiteboard | |
bit vector of FSMs and command More... | |
Finite State Machine Control and Status information.
This is implemented as a bit vector with an enum for control and one bit per FSM and controlled by the following macros:
CONTROLSTATUS_SET_CMD(s, cmd) issue cmd
for the given fsms CONTROLSTATUS_CLR_FSM(s, fsm) ignore fsm
for the above command CONTROLSTATUS_SET_FSM(s, fsm) include fsm
in the above command CONTROLSTATUS_GET_FSM(s, fsm) check if fsm
is included in cmd/status
Definition at line 110 of file wb_fsm_control_status.h.
|
inline |
bit vector of FSMs and command
convenience constructor: clears all commands and FSMs
Definition at line 113 of file wb_fsm_control_status.h.
References CONTROLSTATUS_SET_CMD.