129 #ifdef UNITY_UNIT_TEST
Configuration of the battery system (e.g., number of battery modules, battery cells,...
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
STD_RETURN_TYPE_e AFE_RequestEepromRead(uint8_t string)
Makes the request to the AFE state machine to read from the external EEPROM on slaves.
STD_RETURN_TYPE_e AFE_RequestEepromWrite(uint8_t string)
Makes the request to the AFE state machine to write to the external EEPROM on slaves.
STD_RETURN_TYPE_e AFE_RequestIoRead(uint8_t string)
Makes the request to the AFE state machine to read from the IO port-expander.
STD_RETURN_TYPE_e AFE_TriggerIc(void)
STD_RETURN_TYPE_e AFE_RequestOpenWireCheck(uint8_t string)
Makes the request to the AFE state machine to perform open-wire check.
bool AFE_IsFirstMeasurementCycleFinished(void)
Checks if the first AFE measurement cycle was made.
STD_RETURN_TYPE_e AFE_RequestBalancingFeedbackRead(uint8_t string)
Makes the request to the AFE state machine to read balancing feedback from the slaves.
STD_RETURN_TYPE_e AFE_RequestTemperatureRead(uint8_t string)
Makes the request to the AFE state machine to read from the external temperature sensor on slaves.
STD_RETURN_TYPE_e AFE_RequestIoWrite(uint8_t string)
Makes the request to the AFE state machine to write to the IO port-expander.
STD_RETURN_TYPE_e AFE_Initialize(void)
STD_RETURN_TYPE_e AFE_StartMeasurement(void)
Makes the initialization request to the AFE state machine.
AFE driver wrapper layer for TI ICs.
STD_RETURN_TYPE_e TI_RequestOpenWireCheck(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_StartMeasurement(void)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_RequestIoWrite(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_RequestTemperatureRead(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_RequestIoRead(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
bool TI_IsFirstMeasurementCycleFinished(void)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_RequestBalancingFeedbackRead(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_RequestEepromRead(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_Initialize(void)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_Measure(void)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.
STD_RETURN_TYPE_e TI_RequestEepromWrite(uint8_t string)
This function is used to wrap the TI AFE measurement API to the generic AFE measurement API.