55 #ifndef FOXBMS__ADC_H_
56 #define FOXBMS__ADC_H_
68 #define ADC_VREFHIGH_mV (5000.0f)
70 #define ADC_VREFLOW_mV (0.0f)
72 #define ADC_CONV_FACTOR_12BIT (4096.0f)
74 #define ADC_CONV_FACTOR_10BIT (1024.0f)
77 #define ADC_CONVERSION_ENDDBIT (8U)
@ ADC_WAIT_CONVERSION_FINISHED
@ ADC_CONVERSION_FINISHED
void ADC_Control(void)
controls ADC measurement sequence.
Configuration of the battery system (e.g., number of battery modules, battery cells,...
General macros and definitions for the whole platform.