8 #ifndef ENS210_HPP_INCLUDED 9 #define ENS210_HPP_INCLUDED 13 #include "ENS210_Result.hpp" 18 uint8_t soldercorrection = 0;
19 uint32_t crc7( uint32_t val );
24 void writeRegisters(
const uint8_t *dataStream,
int len);
27 int readRegisters(uint8_t firstRegister,
int len);
30 bool PART_ID_Valid()
const {
return PART_ID == 0x0210; };
32 bool SYS_STAT_Valid()
const {
return SYS_STAT == 1; };
33 uint16_t dieRevision = 0;
34 uint64_t uniqueDeviceID = 0;
37 bool InitOK()
const {
return initOK; };
38 static void QwikTest();
Definition: ENS210.hpp:16
Address of a device on a 1-Wire bus. Separate file to allow inclusion by high-level functions without...
Measurement result from ENS210.
Definition: ENS210_Result.hpp:19
OneWire_ROM_ID_T type stores a 1-Wire address.
Definition: one_wire_address.h:15