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_machine Struct Reference

The state machine. More...

Public Attributes

SemaphoreHandle_t lock
 
state_tcurrent_state
 
state_tnext_state
 
void(* callback )(void)
 
struct list_item states
 
int count
 

Detailed Description

The state machine.

Member Data Documentation

◆ callback

void(* state_machine::callback) (void)

SM callback, executed at the end of each cycle

◆ count

int state_machine::count

Number of states in the SM

◆ current_state

state_t* state_machine::current_state

State currently executing in the SM

◆ lock

SemaphoreHandle_t state_machine::lock

◆ next_state

state_t* state_machine::next_state

State to be moved to

◆ states

struct list_item state_machine::states

Array of all states in the SM


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