1-Wire and ENS210 driver stack
one_wire_address.h
Go to the documentation of this file.
1 /*!
2  * @file one_wire_address.h
3  * @brief Address of a device on a 1-Wire bus. Separate file to allow inclusion by high-level functions without namespace pollution from DS2485 etc.
4  */
5 
6 #ifndef ONE_WIRE_ADDRESS_H_INCLUDED
7 #define ONE_WIRE_ADDRESS_H_INCLUDED
8 #ifdef __cplusplus
9  extern "C" {
10 #endif
11 
12 #include <stdint.h>
13 
14 /// OneWire_ROM_ID_T type stores a 1-Wire address
15 typedef struct {
16  uint8_t ID[8];
18 
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 #endif /* ONE_WIRE_ADDRESS_H_INCLUDED */
OneWire_ROM_ID_T type stores a 1-Wire address.
Definition: one_wire_address.h:15