Skip to content

Struct SYN_PowerMon

ClassList > SYN_PowerMon

Generic Power Monitor Instance Context.

  • #include <syn_powermon.h>

Public Attributes

Type Name
float bus_voltage_v
float energy_mwh
SYN_SoftI2C i2c
uint8_t i2c_addr
float power_mw
float shunt_current_ma
float shunt_resistor_ohms
SYN_PowerMonType type

Public Attributes Documentation

variable bus_voltage_v

float SYN_PowerMon::bus_voltage_v;

Measured Bus Voltage in Volts


variable energy_mwh

float SYN_PowerMon::energy_mwh;

Accumulated Energy in Milliwatt-hours


variable i2c

SYN_SoftI2C SYN_PowerMon::i2c;

variable i2c_addr

uint8_t SYN_PowerMon::i2c_addr;

variable power_mw

float SYN_PowerMon::power_mw;

Measured Active Power in Milliwatts


variable shunt_current_ma

float SYN_PowerMon::shunt_current_ma;

Measured Shunt Current in Milliamps


variable shunt_resistor_ohms

float SYN_PowerMon::shunt_resistor_ohms;

Shunt resistor value (e.g. 0.1 ohms)


variable type

SYN_PowerMonType SYN_PowerMon::type;


The documentation for this class was generated from the following file src/syntropic/sensor/syn_powermon.h