AvrIO  1.4.5
Bibliothèque C modulaire pour ATMEL AVR
ow-ds1820.h
1 
18 #ifndef _AVRIO_OW_DS1820_H_
19 #define _AVRIO_OW_DS1820_H_
20 
21 #include <avrio/defs.h>
22 #include <avrio/ow.h>
23 
24 __BEGIN_C_DECLS
25 /* ========================================================================== */
33 /* constants ================================================================ */
34 #define DS1820_FAMILY_ID 0x10
35 #define DS1820_ERROR -1000
36 
37 /* public variables ========================================================= */
38 /* internal public functions ================================================ */
39 
49 int iDs1820Read (xOwDevice * device);
50 
56 /* ========================================================================== */
57 __END_C_DECLS
58 #endif /* _AVRIO_OW_DS1820_H_ */
Circuit sur le bus 1wire.
Definition: ow.h:64
int iDs1820Read(xOwDevice *device)
Read the temperature from a DS1820 temperature sensor.