FreeRTOS Emulator with SDL2 Based Graphics and Input Library
1.0
A POSIX wrapper to run FreeRTOS on an x86 machine with some basic input and output libraries aimed at making teaching FreeRTOS simpler.
|
Data object to store a single state's properties and functions. More...
Public Attributes | |
unsigned char | id |
void * | data |
char * | name |
unsigned char | initd |
void(* | probe )(void) |
void(* | enter )(void) |
void(* | run )(void) |
void(* | exit )(void) |
struct list_item | list |
Data object to store a single state's properties and functions.
void* state::data |
Data stored inside the state
void(* state::enter) (void) |
Function that is called when going into the state
void(* state::exit) (void) |
Function run when the state is being moved out of
unsigned char state::id |
The state's ID number
unsigned char state::initd |
If the state's probe function has been run yet
struct list_item state::list |
char* state::name |
String representation of the state's name
void(* state::probe) (void) |
The states init function
void(* state::run) (void) |
Run function that executes while the state is the current state