#include "DEMOSDK\BASTYPES.H"
Go to the source code of this file.
Data Structures | |
struct | FSM |
struct | FSMstate |
Macros | |
#define | FSMgotoNextState(FSM) FSMgoto((FSM),(FSM)->activeState+1) |
#define | FSMgetCurrentState(FSM) (FSM)->activeState |
#define | FSMisLastState(FSM) (((FSM)->activeState+1) == (FSM)->nbStates) |
Typedefs | |
typedef void(* | FSMfunction )(FSM *_fsm) |
Functions | |
void | FSMinit (FSM *_m, FSMstate *_states, u16 _nbStates, u16 _startState) |
void | FSMupdate (FSM *_m) |
void | FSMgoto (FSM *_m, u16 _newState) |