54 #ifndef FOXBMS__MXM_CFG_H_
55 #define FOXBMS__MXM_CFG_H_
63 #include "HL_reg_het.h"
72 #define MXM_17841B_GIODIR (hetREG1->DIR)
73 #define MXM_17841B_GIOPORT (hetREG1->DOUT)
75 #define MXM_17841B_SHTNDL_PIN (21U)
Configuration of the battery system (e.g., number of battery modules, battery cells,...
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
General macros and definitions for the whole platform.
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 MXM_GetSPIStateReady(void)
Return whether SPI interface is ready.
void MXM_MonitoringPinInit(void)
Initialize the pins connected to the MAX17841B.
STD_RETURN_TYPE_e MXM_SendData(uint16_t *txBuffer, uint16_t length)
Transmit data over SPI.
Headers for the driver for the SPI module.
Headers for the configuration for the SPI module.