|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
Go to the documentation of this file.
55 #ifndef FOXBMS__SPI_CFG_H_
56 #define FOXBMS__SPI_CFG_H_
70 #define LTC_SPI_NODE (spiREG1)
73 #define SPS_SPI_CS_GIOPORT (hetREG2->DOUT)
74 #define SPS_SPI_CS_GIOPORT_DIR (hetREG2->DIR)
75 #define SPS_SPI_CS_PIN (1u)
82 #define N775_SPI_TX_NODE (spiREG1)
83 #define N775_SPI_TX_GIOPORT (N775_SPI_TX_NODE->PC3)
84 #define N775_SPI_TX_CS_PIN (2U)
86 #define N775_SPI_RX_NODE (spiREG5)
87 #define N775_SPI_RX_GIOPORT (N775_SPI_TX_NODE->PC3)
88 #define N775_SPI_RX_CS_PIN (2U)
SPI_INTERFACE_CONFIG_s spi_kSbcMcuInterface
volatile uint32_t * pGioPort
SPI_INTERFACE_CONFIG_s spi_MxmInterface
SPI_INTERFACE_CONFIG_s spi_framInterface
void SPI_SpsInterfaceSwitchToHighSpeed(SPI_INTERFACE_CONFIG_s *pSpiSpsInterface)
Switch the SPS spi handle to high speed.
Configuration of the battery system (e.g., number of battery modules, battery cells,...
SPI_INTERFACE_CONFIG_s spi_adc1Interface
SPI_INTERFACE_CONFIG_s spi_adc0Interface
SPI_INTERFACE_CONFIG_s spi_spsInterface
const uint8_t spi_nrBusyFlags
SPI_INTERFACE_CONFIG_s spi_ltcInterface[BS_NR_OF_STRINGS]
const spiDAT1_t * pConfig
enum SPI_BUSY_STATE SPI_BUSY_STATE_e
void SPI_SpsInterfaceSwitchToLowSpeed(SPI_INTERFACE_CONFIG_s *pSpiSpsInterface)
Switch the SPS spi handle to low speed.
struct SPI_INTERFACE_CONFIG SPI_INTERFACE_CONFIG_s
const spiDAT1_t spi_kNxp775DataConfig
enum SPI_INTERFACE SPI_INTERFACE_e
SPI_INTERFACE_CONFIG_s spi_dmaTransmission[]
Variable used for SPI over DMA transmission. Retains the CS pin to deactivate in DMA callback.
SPI_BUSY_STATE_e spi_busyFlags[]
SPI_INTERFACE_CONFIG_s spi_nxp775Interface