1-Wire and ENS210 driver stack
1wire
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.
4
*
5
* Separate file to allow inclusion by higher-level functions without namespace
6
* pollution from DS2485-related definitions.
7
*/
8
9
#ifndef ONE_WIRE_ADDRESS_H_INCLUDED
10
#define ONE_WIRE_ADDRESS_H_INCLUDED
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
#include <stdint.h>
16
17
/// OneWire_ROM_ID_T type stores a 1-Wire address
18
typedef
struct
{
19
uint8_t ID[8];
20
}
OneWire_ROM_ID_T
;
21
22
23
#ifdef __cplusplus
24
}
25
#endif
26
#endif
/* ONE_WIRE_ADDRESS_H_INCLUDED */
OneWire_ROM_ID_T
OneWire_ROM_ID_T type stores a 1-Wire address.
Definition:
one_wire_address.h:18
Generated by
1.8.13