|
1 /** |
|
2 * @file task_dcf.h |
|
3 * @brief DCF77 task. Run transmitter. |
|
4 */ |
|
5 |
|
6 #ifndef _TASK_DCF_H |
|
7 #define _TASK_DCF_H |
|
8 |
|
9 |
|
10 /** |
|
11 * @brief Structure containing the information of the driver task. |
|
12 */ |
|
13 typedef struct { |
|
14 bool DCF_running; ///< If driver is running. |
|
15 } DCF_State; |
|
16 |
|
17 |
|
18 |
|
19 /** |
|
20 * @brief Test if transmitter is running. |
|
21 * @return Return true if transmitting. |
|
22 */ |
|
23 bool ready_DCF(void); |
|
24 |
|
25 |
|
26 /** |
|
27 * @brief Request transmitter state |
|
28 */ |
|
29 void request_DCF(bool run); |
|
30 |
|
31 |
|
32 /** |
|
33 * @brief Main task for the dcf77 transmitter. |
|
34 * @param pvParameters Parameters for the task. |
|
35 */ |
|
36 void task_DCF(void *pvParameters); |
|
37 |
|
38 |
|
39 #endif |