Struct 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¶
Measured Bus Voltage in Volts
variable energy_mwh¶
Accumulated Energy in Milliwatt-hours
variable i2c¶
variable i2c_addr¶
variable power_mw¶
Measured Active Power in Milliwatts
variable shunt_current_ma¶
Measured Shunt Current in Milliamps
variable shunt_resistor_ohms¶
Shunt resistor value (e.g. 0.1 ohms)
variable type¶
The documentation for this class was generated from the following file src/syntropic/sensor/syn_powermon.h