#include <types.h>
#include <stdbool.h>
Classes | |
struct | fsm |
fsm structure for pusher and lift More... | |
Typedefs | |
typedef void(* | state_fcn )(struct fsm *fsm, enum event my_event) |
Enumerations | |
enum | event { EVENT_ENTRY, EVENT_DO, EVENT_EXIT, EVENT_ENTRY, EVENT_DO, EVENT_EXIT, EVENT_ENTRY, EVENT_DO, EVENT_EXIT, EVENT_ENTRY, EVENT_DO, EVENT_EXIT } |
Functions | |
void | init_fsm (struct fsm *fsm, state_fcn initial_state) |
void | run_fsm (struct fsm *fsm) |
enum event |
void run_fsm | ( | struct fsm * | fsm | ) |