FSM transition description (item of FSM transition table). More...
#include <sys_fsm.h>
Data Fields | |
sys_fsm_event_id_t | event_id |
sys_fsm_guard_id_t | guard_id |
sys_fsm_action_id_t | action_id |
sys_fsm_state_id_t | new_state_id |
FSM transition description (item of FSM transition table).
When an event with given event_id occurs, the guard condition with guard_id is checked, and if it returns true, the action with action_id is performed, and state machine is switched to the state with new_state_id.
sys_fsm_action_id_t sys_fsm_transition_t::action_id |
FSM action ID.
sys_fsm_event_id_t sys_fsm_transition_t::event_id |
FSM event ID.
sys_fsm_guard_id_t sys_fsm_transition_t::guard_id |
FSM guard ID.
sys_fsm_state_id_t sys_fsm_transition_t::new_state_id |
New state ID.