54 #ifndef FOXBMS__ADC_H_
55 #define FOXBMS__ADC_H_
68 #define ADC_HET1_GIO (hetREG1)
70 #define ADC_HET1_RESET_PIN (28U)
73 #define ADC_VREF_1 (2.5f)
75 #define ADC_VREF_2 (4.096f)
77 #define ADC_GAIN (1.0f)
83 #define SINGLE_MESSAGE_LENGTH (2U)
85 #define CONVERT_LENGTH (10U)
87 #define ADC_NUMBER_OF_CHANNELS (4U)
void ADC_Control(void)
determines which ADC is measured and stores result in database.
void ADC_Initialize(void)
initializes the ADC devices. It is called during startup.
Configuration of the battery system (e.g., number of battery modules, battery cells,...
General macros and definitions for the whole platform.
Header for the driver for the IO module.
Headers for the driver for the SPI module.