FreeRTOS Tetris
opponent.h
Go to the documentation of this file.
1 
23 #ifndef OPPONENT_H
24 #define OPPONENT_H
25 
26 #include "tetrisConfig.h"
27 
29 extern SemaphoreHandle_t NextTetrominoSignal;
31 
37 int iOpponentInit();
38 
39 #endif // OPPONENT_H
TaskHandle_t
void * TaskHandle_t
Type by which tasks are referenced.
Definition: task.h:132
QueueHandle_t
void * QueueHandle_t
Definition: queue.h:135
UDPControlTask
TaskHandle_t UDPControlTask
Task to control the UDP socket
Definition: opponent.c:24
TetrominoQueue
QueueHandle_t TetrominoQueue
Queue for receiving tetromino types from opponent
Definition: opponent.c:29
tetrisConfig.h
File containing some game configurations.
iOpponentInit
int iOpponentInit()
Initialize the opponent functionality.
Definition: opponent.c:251
NextTetrominoSignal
SemaphoreHandle_t NextTetrominoSignal
Signal for the next Tetromino
Definition: opponent.c:27