Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lampda::power::charger::drivers::Measurments Struct Reference

Store the DAC values mesured by some system sensors, relative to the battery and power. More...

#include <charging_ic.h>

Public Member Functions

bool is_measurment_valid () const
 Return False if you should not use the values in this struct.
 

Public Attributes

uint32_t time = 0
 The time those measurments were made.
 
bool isChargeOk
 Indicates if the chargeOk signal from charger is high.
 
uint16_t vbus_mV
 voltage on vbus, in millivolts
 
uint16_t psys_mV
 power on vsys ?? The values here are always weird
 
uint16_t batChargeCurrent_mA
 battery charging current, in milliamps
 
uint16_t batDischargeCurrent_mA
 battery discharge current, in milliamps
 
uint16_t vbus_mA
 vbus current, in milliamps
 
uint16_t cmpin_mA
 
uint16_t vsys_mV
 VSYS voltage, in millivolts.
 
uint16_t battery_mV
 battery voltage, in millivolts
 

Detailed Description

Store the DAC values mesured by some system sensors, relative to the battery and power.


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