57 #include "Mockafe_plausibility.h"
58 #include "Mockdatabase.h"
61 #include "Mockfassert.h"
63 #include "Mockltc_afe_dma.h"
64 #include "Mockltc_pec.h"
74 TEST_FILE(
"ltc_6806.c")
97 .pGioPort = &(spiREG1->PC3),
107 .pGioPort = &(spiREG1->PC3),
122 OS_EnterTaskCritical_Expect();
123 OS_ExitTaskCritical_Expect();
#define BS_NR_OF_STRINGS
Number of parallel strings in the battery pack.
Headers for the driver for the LTC monitoring chip.
void TEST_LTC_SetFirstMeasurementCycleFinished(LTC_STATE_s *ltc_state)
Header for the configuration for the LTC 6806 monitoring IC.
Headers for the configuration for the SPI module.
#define SPI_HARDWARE_CHIP_SELECT_2_ACTIVE
@ SPI_CHIP_SELECT_HARDWARE
bool first_measurement_made
void testLTC_SetFirstMeasurementCycleFinished(void)
SPI_INTERFACE_CONFIG_s spi_ltcInterfaceSecondary[BS_NR_OF_STRINGS]
SPI_INTERFACE_CONFIG_s spi_ltcInterface[BS_NR_OF_STRINGS]
static const spiDAT1_t spi_kLtcDataConfig[BS_NR_OF_STRINGS]