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.
state Struct Reference

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
 

Detailed Description

Data object to store a single state's properties and functions.

Member Data Documentation

◆ data

void* state::data

Data stored inside the state

◆ enter

void(* state::enter) (void)

Function that is called when going into the state

◆ exit

void(* state::exit) (void)

Function run when the state is being moved out of

◆ id

unsigned char state::id

The state's ID number

◆ initd

unsigned char state::initd

If the state's probe function has been run yet

◆ list

struct list_item state::list

◆ name

char* state::name

String representation of the state's name

◆ probe

void(* state::probe) (void)

The states init function

◆ run

void(* state::run) (void)

Run function that executes while the state is the current state


The documentation for this struct was generated from the following file: