58 #include "Mockfassert.h"
61 #include "Mockspi_cfg.h"
90 SPI_SetFunctional_Expect(
NULL_PTR, SPI_PIN_SIMO,
true);
91 SPI_SetFunctional_IgnoreArg_pNode();
92 SPI_SetFunctional_Expect(
NULL_PTR, SPI_PIN_SOMI,
true);
93 SPI_SetFunctional_IgnoreArg_pNode();
118 uint16_t bufferLength = 1;
128 uint16_t bufferLength = 1;
#define NULL_PTR
Null pointer.
STD_RETURN_TYPE_e MXM_ReceiveData(uint16_t *txBuffer, uint16_t *rxBuffer, uint16_t length)
Send and Receive data over SPI.
void MXM_InitializeMonitoringPins(void)
Initialize the pins connected to the MAX17841B.
STD_RETURN_TYPE_e MXM_GetSPIStateReady(void)
Return whether SPI interface is ready.
void MXM_ShutDownBridgeIc(void)
Pulls the shutdown of the bridge IC low.
void MXM_EnableBridgeIc(void)
Pulls the shutdown of the bridge IC high.
STD_RETURN_TYPE_e MXM_SendData(uint16_t *txBuffer, uint16_t length)
Transmit data over SPI.
Header for the configuration for the Maxim analog front-end.
#define MXM_17841B_GIOPORT
#define MXM_17841B_SHTNDL_PIN
void testMXM_ReceiveData(void)
SPI_INTERFACE_CONFIG_s spi_mxmInterface
void testMXM_EnableBridgeIc(void)
void testMXM_SendData(void)
void testMXM_InitializeMonitoringPins(void)
void testMXM_ShutDownBridgeIc(void)
void testMXM_GetSpiStateReady(void)