main/task_user.h

changeset 44
e52d11b8f252
parent 41
d327e0aff62f
equal deleted inserted replaced
43:70c99c2084dc 44:e52d11b8f252
5 5
6 #ifndef _TASK_USER_H 6 #ifndef _TASK_USER_H
7 #define _TASK_USER_H 7 #define _TASK_USER_H
8 8
9 9
10 #define PIN_SDA (CONFIG_I2C_MASTER_SDA) 10 #define PIN_SDA (CONFIG_I2C_MASTER_SDA) ///< GPIO pin for I2C SDA
11 #define PIN_SCL (CONFIG_I2C_MASTER_SCL) 11 #define PIN_SCL (CONFIG_I2C_MASTER_SCL) ///< GPIO pin for I2C SCL
12 #define ROT_ENC_A_GPIO (CONFIG_ROT_ENC_A_GPIO) 12 #define ROT_ENC_A_GPIO (CONFIG_ROT_ENC_A_GPIO) ///< GPIO pin for rotary encoder A
13 #define ROT_ENC_B_GPIO (CONFIG_ROT_ENC_B_GPIO) 13 #define ROT_ENC_B_GPIO (CONFIG_ROT_ENC_B_GPIO) ///< GPIO pin for rotary encoder B
14 #define ROT_ENC_SW_GPIO (CONFIG_ROT_ENC_SW_GPIO) 14 #define ROT_ENC_SW_GPIO (CONFIG_ROT_ENC_SW_GPIO) ///< GPIO pin for rotary encoder pushbutton
15 #define INACTIVITY 240 ///< User inactivity time 15 #define INACTIVITY 240 ///< User inactivity time
16 16
17 #define EDIT_TYPE_TEXT 0 ///< Editor type is text, special chars and digits. 17 #define EDIT_TYPE_TEXT 0 ///< Editor type is text, special chars and digits.
18 #define EDIT_TYPE_CAPS 1 ///< Editor alpha capitals, some specials and digits. 18 #define EDIT_TYPE_CAPS 1 ///< Editor alpha capitals, some specials and digits.
19 #define EDIT_TYPE_INT 2 ///< Editor type is integer 19 #define EDIT_TYPE_INT 2 ///< Editor type is integer
50 50
51 51
52 52
53 /** 53 /**
54 * @brief The FreeRTOS task to run the user interface. 54 * @brief The FreeRTOS task to run the user interface.
55 * @param pvParameters Parameters for the task.
55 */ 56 */
56 void task_user(void *); 57 void task_user(void *pvParameters);
57 58
58 59
59 #endif 60 #endif
60 61

mercurial