55 #ifndef FOXBMS__ADI_ADES183X_CFG_H_
56 #define FOXBMS__ADI_ADES183X_CFG_H_
69 #define ADI_DISCARD_PEC (false)
70 #if !((ADI_DISCARD_PEC == false) || (ADI_DISCARD_PEC == true))
71 #error "ADI_DISCARD_PEC can only have the value true of false"
75 #define ADI_SPI_INDEX (SPI_SPI1_INDEX)
104 #ifdef UNITY_UNIT_TEST
#define ADI_MAX_SUPPORTED_CELLS
int16_t ADI_ConvertGpioVoltageToTemperature(int16_t voltage_mV)
converts a raw GPIO voltage to a temperature value in deciCelsius.
const uint8_t adi_temperatureInputsUsed[BS_NR_OF_GPIOS_PER_MODULE]
const uint8_t adi_voltageInputsUsed[ADI_MAX_SUPPORTED_CELLS]
Headers for the driver for the ades183x analog front-end.
Configuration of the battery system (e.g., number of battery modules, battery cells,...
#define BS_NR_OF_GPIOS_PER_MODULE
Defines the number of GPIOs.