main/task_user.h

changeset 22
cceb36fd3a2a
parent 21
043ae27633f8
child 23
58a328e91881
equal deleted inserted replaced
21:043ae27633f8 22:cceb36fd3a2a
1 /** 1 /**
2 * @file task_user.h 2 * @file task_user.h
3 * @brief The FreeRTOS task to maintain MQTT connections. 3 * @brief The FreeRTOS task to run the user interface.
4 */ 4 */
5 5
6 #ifndef _TASK_USER_H 6 #ifndef _TASK_USER_H
7 #define _TASK_USER_H 7 #define _TASK_USER_H
8 8
18 #define EDIT_TYPE_INT 1 ///< Editor type is integer 18 #define EDIT_TYPE_INT 1 ///< Editor type is integer
19 #define EDIT_TYPE_FLOAT 2 ///< Editor type is float 19 #define EDIT_TYPE_FLOAT 2 ///< Editor type is float
20 20
21 21
22 22
23 /**
24 * @brief Called after a power on or hard reset.
25 */
23 void user_cold(void); 26 void user_cold(void);
27
28
29 /**
30 * @brief Called after wakeup by the user.
31 */
24 void user_wakeup(void); 32 void user_wakeup(void);
33
34
35 /**
36 * @brief Refresh screens that are in focus.
37 */
25 void user_refresh(void); 38 void user_refresh(void);
39
40
41 /**
42 * @brief Test is user interface is busy and active
43 * @return Returns true if the user interface is active, false otherwise.
44 */
26 bool user_busy(void); 45 bool user_busy(void);
27 46
28 47
29 /** 48 /**
30 * @brief The FreeRTOS task to run the user interface. 49 * @brief The FreeRTOS task to run the user interface.

mercurial