Skip to content

File PduMath.h

FileList > Firmware > Libraries > PowerMonitor > PduMath.h

Go to the source code of this file

PDU monitoring node — pure conversions, no hardware access (#216). More...

  • #include <stdint.h>
  • #include <stddef.h>

Namespaces

Type Name
namespace OpenSkyhawk
Thin wrapper over Adafruit_ADS1115; see ADS1115.h .
namespace Pdu

Classes

Type Name
struct CalValues
Calibration values the conversions need. Defaults = uncalibrated.

Detailed Description

Everything here is a function of its arguments, so it is tested with injected values on any target. ADC counts are 16-bit (analogReadResolution(16)); VDDA is in mV.

Copyright:

GPL-2.0-only — see Firmware/LICENSE


The documentation for this class was generated from the following file Firmware/Libraries/PowerMonitor/PduMath.h