LevelMeter-Display  2.0
An ultrasonic Level Meter for Stormwater Cisterns
Data Fields
confStruct_t Struct Reference

Holds all Configuration Data stored in EEPROM. More...

Collaboration diagram for confStruct_t:
Collaboration graph
[legend]

Data Fields

bool backlightAlwaysOn
 Shall the Backlight always be lit? More...
 
uint8_t backlightOnTime
 Time the Backlight will stay on after Key Press in Seconds. More...
 
double cistAreaOrDiameter
 Surface Area of the Cistern (const) or Diameter (horizontal Cylinder or Sphere) More...
 
double cistCapacity
 Capacity of the cistern in liters (used for %-calculation) More...
 
cisternType_T cisternType
 The shape of the cistern. More...
 
double cistHeight
 Height of the Sensor over Cistern Ground. More...
 
double cistLength
 Length of the Cistern (horizontal Cylinder Type only) More...
 
displayType_t displayType
 The display type used. More...
 
uint8_t instCal
 Calibration value for analog instrument. More...
 
uint8_t invDCF77
 Invert the DCF77 Pin? More...
 
uint8_t LCDBright
 LCD Brightness. More...
 
uint8_t LCDV0
 Control Voltage for LCD Contrast. More...
 
uint16_t magic
 Used to discover unprogrammed Devices. More...
 
double P3VoltsPerLSB
 Calibration Value for 3V3. More...
 
double P5VoltsPerLSB
 Calibration Value for 5V. More...
 
uint8_t pageTime
 Delay for automatic stepping of display pages (0 means no automatic stepping) More...
 
uint8_t pageTimeK
 Delay for switchback from manual stepping by key to automatic stepping. More...
 
signalOutput_t signalOutputs [NUM_SIGNAL]
 Thresholds for the signalling Outputs. More...
 
uint8_t sndHourFrom
 Sounds are only played if current hour is greater or equal. More...
 
uint8_t sndHourTo
 Sounds are only played if current hour is less than this. More...
 
uint8_t sndMask
 Flags for special sound treatment. More...
 
double spontaneousReportVolume
 Volume is sent over serial if difference to last reported is greater. More...
 
double SWUnregVoltsPerLSB
 Calibration Value for Switched Unreg. More...
 
double UnregVoltsPerLSB
 Calibration Value for Unreg. More...
 
bool useRts
 Shall the serial communication use RTS/CTS-handshake? More...
 

Detailed Description

Holds all Configuration Data stored in EEPROM.

Field Documentation

◆ backlightAlwaysOn

bool backlightAlwaysOn

Shall the Backlight always be lit?

Referenced by DefaultConfig(), DumpConfig(), and Init().

◆ backlightOnTime

uint8_t backlightOnTime

Time the Backlight will stay on after Key Press in Seconds.

Referenced by DefaultConfig(), DoTflags(), DumpConfig(), and Init().

◆ cistAreaOrDiameter

double cistAreaOrDiameter

Surface Area of the Cistern (const) or Diameter (horizontal Cylinder or Sphere)

Referenced by CmdSetCistern(), DefaultConfig(), DumpConfig(), and LitersFromDist().

◆ cistCapacity

double cistCapacity

Capacity of the cistern in liters (used for %-calculation)

Referenced by CmdSetCistern(), DefaultConfig(), DoCflags(), and DumpConfig().

◆ cisternType

cisternType_T cisternType

The shape of the cistern.

Referenced by CmdSetCistern(), DefaultConfig(), DumpConfig(), and LitersFromDist().

◆ cistHeight

double cistHeight

Height of the Sensor over Cistern Ground.

Referenced by CmdSetCistern(), DefaultConfig(), DumpConfig(), and LitersFromDist().

◆ cistLength

double cistLength

Length of the Cistern (horizontal Cylinder Type only)

Referenced by CmdSetCistern(), and LitersFromDist().

◆ displayType

displayType_t displayType

◆ instCal

uint8_t instCal

Calibration value for analog instrument.

Referenced by CmdCalibrate(), DefaultConfig(), DumpConfig(), and SetAnalogPerCent().

◆ invDCF77

uint8_t invDCF77

Invert the DCF77 Pin?

Referenced by CmdSetDCFInv(), DefaultConfig(), DumpConfig(), and GetPinState().

◆ LCDBright

uint8_t LCDBright

◆ LCDV0

uint8_t LCDV0

Control Voltage for LCD Contrast.

Referenced by DefaultConfig(), DumpConfig(), and Init().

◆ magic

uint16_t magic

Used to discover unprogrammed Devices.

Referenced by DefaultConfig(), and ReadConfig().

◆ P3VoltsPerLSB

double P3VoltsPerLSB

Calibration Value for 3V3.

Referenced by CmdCalibrate(), DefaultConfig(), DumpConfig(), and P3FromADC().

◆ P5VoltsPerLSB

double P5VoltsPerLSB

Calibration Value for 5V.

Referenced by CmdCalibrate(), DefaultConfig(), DumpConfig(), and P5FromADC().

◆ pageTime

uint8_t pageTime

Delay for automatic stepping of display pages (0 means no automatic stepping)

Referenced by CmdSetPTime(), CmdSetPTimeK(), DefaultConfig(), DoTflags(), DumpConfig(), and main().

◆ pageTimeK

uint8_t pageTimeK

Delay for switchback from manual stepping by key to automatic stepping.

Referenced by CmdSetPTimeK(), DefaultConfig(), DoKFlags(), and DumpConfig().

◆ signalOutputs

signalOutput_t signalOutputs[NUM_SIGNAL]

Thresholds for the signalling Outputs.

Referenced by CmdSetSignal(), DefaultConfig(), DoCflags(), and DumpConfigSignal().

◆ sndHourFrom

uint8_t sndHourFrom

Sounds are only played if current hour is greater or equal.

Referenced by CmdStat(), DefaultConfig(), DumpConfig(), and SoundsOK().

◆ sndHourTo

uint8_t sndHourTo

Sounds are only played if current hour is less than this.

Referenced by CmdStat(), DefaultConfig(), DumpConfig(), and SoundsOK().

◆ sndMask

uint8_t sndMask

Flags for special sound treatment.

Referenced by CmdSetSounds(), CmdStat(), DefaultConfig(), DoTflags(), and DumpConfig().

◆ spontaneousReportVolume

double spontaneousReportVolume

Volume is sent over serial if difference to last reported is greater.

Referenced by CmdSetSpontaneous(), CmdStat(), DefaultConfig(), and DoTflags().

◆ SWUnregVoltsPerLSB

double SWUnregVoltsPerLSB

Calibration Value for Switched Unreg.

Referenced by CmdCalibrate(), DefaultConfig(), DumpConfig(), and SWUnregFromADC().

◆ UnregVoltsPerLSB

double UnregVoltsPerLSB

Calibration Value for Unreg.

Referenced by CmdCalibrate(), DefaultConfig(), DumpConfig(), and UnregFromADC().

◆ useRts

bool useRts

Shall the serial communication use RTS/CTS-handshake?

Referenced by AssertRTS(), CmdUseRts(), DefaultConfig(), DumpConfig(), ISR(), ReleaseRTS(), and UsartTimerCallback().


The documentation for this struct was generated from the following file: