16 #define _TASK_DS18B20_H |
16 #define _TASK_DS18B20_H |
17 |
17 |
18 /* |
18 /* |
19 * Error codes in this task |
19 * Error codes in this task |
20 */ |
20 */ |
21 #define DS18B20_ERR_NONE 0 |
21 #define DS18B20_ERR_NONE 0 ///< No errors |
22 #define DS18B20_ERR_NOSENSOR 1 |
22 #define DS18B20_ERR_NOSENSOR 1 ///< No sensor detected |
23 #define DS18B20_ERR_TOOMANY 2 |
23 #define DS18B20_ERR_TOOMANY 2 ///< Too many sensors |
24 #define DS18B20_ERR_CRC 3 |
24 #define DS18B20_ERR_CRC 3 ///< CRC read error |
25 #define DS18B20_ERR_READ 4 |
25 #define DS18B20_ERR_READ 4 ///< Generic read error |
26 |
26 |
27 |
27 |
28 /** |
28 /** |
29 * @brief Structure containing the variables for the DS18B20 task. |
29 * @brief Structure containing the variables for the DS18B20 task. |
30 */ |
30 */ |