56 #include "Mockfassert.h"
59 #include "Mockspi_cfg.h"
85 SPI_SetFunctional_Expect(
NULL_PTR, SPI_PIN_SIMO,
true);
86 SPI_SetFunctional_IgnoreArg_pNode();
87 SPI_SetFunctional_Expect(
NULL_PTR, SPI_PIN_SOMI,
true);
88 SPI_SetFunctional_IgnoreArg_pNode();
113 uint16_t bufferLength = 1;
122 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 monitoring chip.
#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)