9 #ifndef ENS210_HPP_INCLUDED 10 #define ENS210_HPP_INCLUDED 19 uint8_t soldercorrection = 0;
20 uint32_t crc7( uint32_t val );
25 void writeRegisters(
const uint8_t *dataStream,
int len);
28 int readRegisters(uint8_t firstRegister,
int len);
31 bool PART_ID_Valid()
const {
return PART_ID == 0x0210; };
33 bool SYS_STAT_Valid()
const {
return SYS_STAT == 1; };
34 uint16_t dieRevision = 0;
35 uint64_t uniqueDeviceID = 0;
38 bool InitOK()
const {
return initOK; };
39 unsigned long QwikTest();
Address of a device on a 1-Wire bus.
Measurement result from ENS210.
OneWire_ROM_ID_T type stores a 1-Wire address.
ENS210 measurement-result types and conversion helpers.