FreeRTOS Tetris
|
Header file for stateMachine.c. More...
#include "tetrisConfig.h"
Go to the source code of this file.
Functions | |
int | iCheckStateInput (player_mode_t playerMode, bool isConnected, rotation_t rotationMode, bool gameOver) |
Function that checks if the player switched to a different state, depending on different parameters. More... | |
int | iStateMachineInit () |
Initialize the state machine. More... | |
Variables | |
const uint8_t | nextStateSignal |
Signal to change to the next state. | |
const uint8_t | prevStateSignal |
Signal to change to the previous state. | |
QueueHandle_t | StateQueue |
Queue for the different states | |
Header file for stateMachine.c.