302 #define DEVDIR_IN_ANALOG 3 /* Temperature input etc. */ |
302 #define DEVDIR_IN_ANALOG 3 /* Temperature input etc. */ |
303 #define DEVDIR_OUT_ANALOG 4 /* Analog steering */ |
303 #define DEVDIR_OUT_ANALOG 4 /* Analog steering */ |
304 #define DEVDIR_OUT_PWM 5 /* PWM outout */ |
304 #define DEVDIR_OUT_PWM 5 /* PWM outout */ |
305 #define DEVDIR_INTERN 6 /* Internal function */ |
305 #define DEVDIR_INTERN 6 /* Internal function */ |
306 |
306 |
|
307 |
|
308 /* |
|
309 * Dynamic one-wire devices list |
|
310 */ |
|
311 typedef struct _w1_list { |
|
312 struct _w1_list *next; |
|
313 char *address; ///< Device address |
|
314 char family[3]; ///< Device family |
|
315 int present; ///< Present on bus |
|
316 int subdevices; ///< Number of subdevices |
|
317 time_t timestamp; ///< Last seen |
|
318 } w1_list; |
|
319 |
|
320 |
|
321 |
307 #ifdef USE_SIMULATOR |
322 #ifdef USE_SIMULATOR |
308 |
323 |
309 /* |
324 /* |
310 * The frigo is a simulation of a fridge with a heating device. |
325 * The frigo is a simulation of a fridge with a heating device. |
311 * It has a volume air, a volume of your beer. There is a simulated |
326 * It has a volume air, a volume of your beer. There is a simulated |