main/task_ds18b20.h

changeset 1
ad2c8b13eb88
parent 0
b74b0e4902c3
equal deleted inserted replaced
0:b74b0e4902c3 1:ad2c8b13eb88
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 */

mercurial