57 #include "MockHL_sys_dma.h"
58 #include "Mockadi_ades183x.h"
59 #include "Mockadi_ades183x_cfg.h"
67 TEST_SOURCE_FILE(
"adi_ades183x_afe.c")
69 TEST_INCLUDE_PATH("../../src/app/application/config")
70 TEST_INCLUDE_PATH("../../src/app/driver/afe/adi/ades1830")
71 TEST_INCLUDE_PATH("../../src/app/driver/afe/adi/common/ades183x")
72 TEST_INCLUDE_PATH("../../src/app/driver/afe/adi/common/ades183x/config")
73 TEST_INCLUDE_PATH("../../src/app/driver/afe/adi/common/ades183x/pec")
74 TEST_INCLUDE_PATH("../../src/app/driver/afe/api")
75 TEST_INCLUDE_PATH("../../src/app/driver/config")
76 TEST_INCLUDE_PATH("../../src/app/driver/dma")
77 TEST_INCLUDE_PATH("../../src/app/driver/io")
78 TEST_INCLUDE_PATH("../../src/app/driver/pex")
79 TEST_INCLUDE_PATH("../../src/app/driver/rtc")
80 TEST_INCLUDE_PATH("../../src/app/driver/spi")
81 TEST_INCLUDE_PATH("../../src/app/driver/ts/api")
82 TEST_INCLUDE_PATH("../../src/app/engine/database")
83 TEST_INCLUDE_PATH("../../src/app/engine/
diag")
84 TEST_INCLUDE_PATH("../../src/app/task/config")
85 TEST_INCLUDE_PATH("../../src/app/task/ftask")
107 ADI_ActivateInterfaceBoard_Expect();
137 ADI_IsFirstMeasurementCycleFinished_ExpectAndReturn(&
adi_stateBase,
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.
static DIAG_DIAGNOSIS_STATE_s diag
void testAFE_RequestBalancingFeedbackRead(void)
void testAFE_RequestEepromWrite(void)
void testAFE_RequestIoRead(void)
void testAFE_StartMeasurement(void)
void testAFE_TriggerIc(void)
void testAFE_Initialize(void)
ADI_STATE_s adi_stateBase
void testAFE_RequestIoWrite(void)
void testAFE_RequestTemperatureRead(void)
const uint8_t testStringId
void testAFE_RequestEepromRead(void)
void testAFE_IsFirstMeasurementCycleFinished(void)
void testAFE_RequestOpenWireCheck(void)