Fenice BMS HV
1.0.0
Software
Fenice BMS HV
»
Software
»
Function energy_sample_energy(energy_t, float, uint32_t)
View page source
Function energy_sample_energy(energy_t, float, uint32_t)
¶
Defined in
File energy.h
Function Documentation
¶
void
energy_sample_energy
(
energy_t
handle
, float
power
, uint32_t
time
)
Updates energy counting with given data.
Parameters
handle
: energy_t instance
power
: Sampled power value (in Watt)
time
: Time at which the measurement was made (in milliseconds)