|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
STD_RETURN_TYPE_e MXM_GetSPIStateReady(void)
Return whether SPI interface is ready.
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
Headers for the driver for the SPI module.
#define MXM_17841B_SHTNDL_PIN
Header for the configuration for the Maxim monitoring chip.
STD_RETURN_TYPE_e SPI_TransmitReceiveData(SPI_INTERFACE_CONFIG_s *pSpiInterface, uint16 *pTxBuff, uint16 *pRxBuff, uint32 frameLength)
Transmits and receives data on SPI without DMA.
#define MXM_17841B_GIODIR
#define MXM_17841B_GIOPORT
SPI_INTERFACE_CONFIG_s spi_MxmInterface
void MXM_MonitoringPinInit(void)
Initialize the pins connected to the MAX17841B.
STD_RETURN_TYPE_e MXM_ReceiveData(uint16_t *txBuffer, uint16_t *rxBuffer, uint16_t length)
Send and Receive data over SPI.
STD_RETURN_TYPE_e SPI_TransmitData(SPI_INTERFACE_CONFIG_s *pSpiInterface, uint16_t *pTxBuff, uint32_t frameLength)
Sends data on SPI without DMA.
Header for the driver for the IO module.
STD_RETURN_TYPE_e MXM_SendData(uint16_t *txBuffer, uint16_t length)
Transmit data over SPI.
void IO_PinSet(uint32_t *pRegisterAddress, uint32_t pin)
Set pin by writing in pin output register.