3-phase PV router
Loading...
Searching...
No Matches
Variables
constants.h File Reference

Some constants. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

constexpr uint8_t CONVERT_TEMPERATURE { 0x44 }
 
constexpr int16_t DEVICE_DISCONNECTED_C { -127 }
 
constexpr int16_t DEVICE_DISCONNECTED_RAW { -7040 }
 
constexpr int16_t OUTOFRANGE_TEMPERATURE { 30200 }
 
constexpr uint8_t READ_SCRATCHPAD { 0xBE }
 
constexpr int16_t TEMP_RANGE_HIGH { 12500 }
 
constexpr int16_t TEMP_RANGE_LOW { -5500 }
 
constexpr uint8_t WRITE_SCRATCH { 0x4E }
 

Detailed Description

Some constants.

Author
Frédéric Metrich (frede.nosp@m.ric..nosp@m.metri.nosp@m.ch@l.nosp@m.ive.f.nosp@m.r)
Version
0.1
Date
2021-10-04

Definition in file constants.h.

Variable Documentation

◆ CONVERT_TEMPERATURE

constexpr uint8_t CONVERT_TEMPERATURE { 0x44 }
inlineconstexpr

Definition at line 16 of file constants.h.

◆ DEVICE_DISCONNECTED_C

constexpr int16_t DEVICE_DISCONNECTED_C { -127 }
inlineconstexpr

Definition at line 24 of file constants.h.

◆ DEVICE_DISCONNECTED_RAW

constexpr int16_t DEVICE_DISCONNECTED_RAW { -7040 }
inlineconstexpr

Definition at line 25 of file constants.h.

◆ OUTOFRANGE_TEMPERATURE

constexpr int16_t OUTOFRANGE_TEMPERATURE { 30200 }
inlineconstexpr

this value (302C) is sent if the sensor reports < -55C or > +125C

Definition at line 20 of file constants.h.

◆ READ_SCRATCHPAD

constexpr uint8_t READ_SCRATCHPAD { 0xBE }
inlineconstexpr

Definition at line 17 of file constants.h.

◆ TEMP_RANGE_HIGH

constexpr int16_t TEMP_RANGE_HIGH { 12500 }
inlineconstexpr

Definition at line 22 of file constants.h.

◆ TEMP_RANGE_LOW

constexpr int16_t TEMP_RANGE_LOW { -5500 }
inlineconstexpr

Definition at line 21 of file constants.h.

◆ WRITE_SCRATCH

constexpr uint8_t WRITE_SCRATCH { 0x4E }
inlineconstexpr

Definition at line 18 of file constants.h.