Fenice BMS HV
1.0.0
Software
Fenice BMS HV
»
Software
»
Function si8900_convert_voltage(uint8_t)
View page source
Function si8900_convert_voltage(uint8_t)
¶
Defined in
File si8900.c
Function Documentation
¶
uint16_t
si8900_convert_voltage
(
uint8_t
adc_hl
[2]
)
¶
Computes the voltage from ADC_H and ADC_L bytes.
Return
The voltage value (eg. 321 -> 3.21V)
Parameters
adc_hl
: ADC_H and ADC_L