-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.hpp
43 lines (32 loc) · 961 Bytes
/
main.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef MAIN_H
#define MAIN_H
#include "stm32f1xx.h"
constexpr uint32_t SYSCLK = CLOCK;
constexpr uint32_t AHBCLK = SYSCLK;
constexpr uint32_t APB1CLK = AHBCLK / 2;
constexpr uint32_t APB2CLK = AHBCLK;
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "timers.h"
#include <EmbeddedResources.h>
#include <utils.hpp>
#include <periph.hpp>
#include <Music.hpp>
#include <GameEngine.hpp>
#include <random>
void MCO_out();
void logic();
void vTaskLed(void *parameter);
void vTaskButton(void *parameter);
void vTaskDisplay(void *parameter);
void vTaskBeep(void *parameter);
void vTaskOvertime(void *parameter);
void vTaskStateMachine(void *parameter);
void vTaskPlayerSetup(void *parameter);
void vTaskConfig(void *parameter);
void vTaskTimerSetup(void *parameter);
void vTaskTurn(void *parameter);
void vTaskTurnEnd(void *parameter);
void vTimerCallback(TimerHandle_t xTimer);
#endif // !MAIN_H