-
Notifications
You must be signed in to change notification settings - Fork 0
/
task2.h
36 lines (29 loc) · 764 Bytes
/
task2.h
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
/**
* @file task2.h
* @brief Deklaracje taska 2
* @author Uros Cvjetinovic
* @contact [email protected], [email protected]
* @date 2020
*/
#ifndef TASK2_H_
#define TASK2_H_
#include "semphr.h"
/** S1_Event bit */
#define mainS1_Event ( BIT2 )
/** S2_Event bit */
#define mainS2_Event ( BIT3 )
/** S3_Event bit */
#define mainS3_Event ( BIT4 )
/** S4_Event bit */
#define mainS4_Event ( BIT5 )
/* Task Handler, for timer to notify task 2 */
extern TaskHandle_t xTask2Handler;
/**
* @brief Inicijalizacija Taska 2
*
* Funkcija koja inicijalizuje Task 2
*/
extern void vTask2Init(void);
/** Task debounce binary semaphores */
extern SemaphoreHandle_t xTask2Debounce;
#endif /*TASK2_H_ */