main/task_ds18b20.h

changeset 44
e52d11b8f252
parent 2
c0184362d48c
equal deleted inserted replaced
43:70c99c2084dc 44:e52d11b8f252
15 */ 15 */
16 #define DS18B20_ERR_NONE 0 ///< No errors 16 #define DS18B20_ERR_NONE 0 ///< No errors
17 #define DS18B20_ERR_CRC 1 ///< CRC read error 17 #define DS18B20_ERR_CRC 1 ///< CRC read error
18 #define DS18B20_ERR_READ 2 ///< Generic read error 18 #define DS18B20_ERR_READ 2 ///< Generic read error
19 19
20 #define DS18B20_MAX 4 20 #define DS18B20_MAX 4 ///< Maximum number of DS18B20 sensors.
21 21
22 /** 22 /**
23 * @brief Structure for a temperature sensor. 23 * @brief Structure for a temperature sensor.
24 */ 24 */
25 typedef struct strTempsensor { 25 typedef struct strTempsensor {
54 bool ready_ds18b20(void); 54 bool ready_ds18b20(void);
55 55
56 56
57 /** 57 /**
58 * @brief The FreeRTOS task to update the DS18B20 temperature sensors on request. 58 * @brief The FreeRTOS task to update the DS18B20 temperature sensors on request.
59 * @param pvParameters Parameters for the task.
59 */ 60 */
60 void task_ds18b20(void *); 61 void task_ds18b20(void *pvParameters);
61 62
62 63
63 #endif 64 #endif
64 65

mercurial