FreeRTOS Tetris
Functions | Variables
stateMachine.h File Reference

Header file for stateMachine.c. More...

#include "tetrisConfig.h"
Include dependency graph for stateMachine.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Header file for stateMachine.c.

Authors
Philipp Karg (phili.nosp@m.pp.k.nosp@m.arg@t.nosp@m.um.d.nosp@m.e)
Date
04.02.2021