107 #define SPI_VARIANT_POST_BUILD (STD_ON)
117 #define SPI_ISR_VOID (0x00U)
119 #define SPI_ISR_CAT1 (0x01U)
121 #define SPI_ISR_CAT2 (0x02U)
130 #define SPI_CHANNELBUFFERS (SPI_IB_EB)
133 #define SPI_IB_MAX_LENGTH (64U)
136 #define SPI_DEV_ERROR_DETECT (STD_ON)
139 #define SPI_JOB_LOG (STD_OFF)
142 #define SPI_MAX_JOB_LOG (100U)
156 #define SPI_MAX_HW_DMA_UNIT (0U)
159 #define SPI_DMA_ENABLE (STD_OFF)
165 #define SPI_LEVEL_0 (0U)
167 #define SPI_LEVEL_1 (1U)
169 #define SPI_LEVEL_2 (2U)
172 #define SPI_SUPPORT_CONCURRENT_SYNC_TRANSMIT (STD_OFF)
175 #define SPI_SCALEABILITY (SPI_LEVEL_2)
178 #define SPI_VERSION_INFO_API (STD_ON)
181 #define SPI_HW_STATUS_API (STD_ON)
184 #define SPI_CANCEL_API (STD_ON)
191 #define SPI_MAX_CHANNELS_PER_JOB (1U)
194 #define SPI_MAX_JOBS_PER_SEQ (1U)
197 #define SPI_MAX_CHANNELS (1U)
200 #define SPI_MAX_JOBS (1U)
203 #define SPI_MAX_SEQ (1U)
209 #define SPI_MAX_HW_UNIT (8U)
214 #define SPI_MAX_EXT_DEV (11U)
222 #define SPI_UNIT_MCU_MCSPI0_ACTIVE (STD_ON)
226 #define SPI_UNIT_MCU_MCSPI1_ACTIVE (STD_ON)
230 #define SPI_UNIT_MCU_MCSPI2_ACTIVE (STD_ON)
234 #define SPI_UNIT_MCSPI0_ACTIVE (STD_ON)
238 #define SPI_UNIT_MCSPI1_ACTIVE (STD_ON)
242 #define SPI_UNIT_MCSPI2_ACTIVE (STD_ON)
246 #define SPI_UNIT_MCSPI3_ACTIVE (STD_ON)
251 #define SPI_UNIT_MCSPI4_ACTIVE (STD_ON)
255 #define SPI_UNIT_MCSPI5_ACTIVE (STD_OFF)
259 #define SPI_UNIT_MCSPI6_ACTIVE (STD_OFF)
263 #define SPI_UNIT_MCSPI7_ACTIVE (STD_OFF)
278 #define SPI_ISR_TYPE (SPI_ISR_CAT1)
281 #define SPI_OS_COUNTER_ID ((CounterType)OsCounter_0)
288 #define SPI_TIMEOUT_DURATION (32000U)
291 #define SPI_REGISTER_READBACK_API (STD_ON)
295 #define SpiConf_SpiChannel_SpiChannel_0 (0U)
298 #define SpiConf_SpiExternalDevice_CS0 (SPI_CS0)
302 #define SpiConf_SpiJob_SpiJob_0 (0U)
305 #define SpiConf_SpiSequence_SpiSequence_0 (0U)
309 #define SpiConf_SpiExternalDevice_HwUnitId0 (CSIB0)
311 #define SpiConf_SpiExternalDevice_HwUnitId1 (CSIB1)
313 #define SpiConf_SpiExternalDevice_HwUnitId2 (CSIB2)
315 #define SpiConf_SpiExternalDevice_HwUnitId3 (CSIB3)
317 #define SpiConf_SpiExternalDevice_HwUnitId4 (CSIB4)
319 #define SpiConf_SpiExternalDevice_HwUnitId5 (CSIB5)
321 #define SpiConf_SpiExternalDevice_HwUnitId6 (CSIB6)
323 #define SpiConf_SpiExternalDevice_HwUnitId7 (CSIB7)
333 #ifndef SPI_E_HARDWARE_ERROR
335 #define SPI_E_HARDWARE_ERROR (DemConf_DemEventParameter_SPI_E_HARDWARE_ERROR)
342 #define SPI_UNIT_MCU_MCSPI0 ((Spi_HWUnitType) CSIB0)
344 #define SPI_UNIT_MCU_MCSPI1 ((Spi_HWUnitType) CSIB1)
346 #define SPI_UNIT_MCU_MCSPI2 ((Spi_HWUnitType) CSIB2)
348 #define SPI_UNIT_MCSPI0 ((Spi_HWUnitType) CSIB3)
350 #define SPI_UNIT_MCSPI1 ((Spi_HWUnitType) CSIB4)
352 #define SPI_UNIT_MCSPI2 ((Spi_HWUnitType) CSIB5)
354 #define SPI_UNIT_MCSPI3 ((Spi_HWUnitType) CSIB6)
356 #define SPI_UNIT_MCSPI4 ((Spi_HWUnitType) CSIB7)
358 #define SPI_UNIT_MCSPI5 ((Spi_HWUnitType) CSIB8)
360 #define SPI_UNIT_MCSPI6 ((Spi_HWUnitType) CSIB9)
362 #define SPI_UNIT_MCSPI7 ((Spi_HWUnitType) CSIB10)
369 #define SPI_HW_UNIT_CNT (11U)
422 extern const struct Spi_ConfigType_s
SpiDriver;
void Spi_IrqUnitMcspi4TxRx(void)
SPI MCSPI4 ISR.
void Spi_IrqUnitMcspi1TxRx(void)
SPI MCSPI1 ISR.
void Spi_IrqUnitMcuMcspi0TxRx(void)
SPI Hwunit ISR.
void Spi_IrqUnitMcuMcspi1TxRx(void)
SPI MCU_MCSPI1 ISR.
const uint32 Spi_HwUnitBaseAddr[SPI_HW_UNIT_CNT]
void SpiApp_wbCache(uint8 *buf, uint16 len)
Cache write-back function.
const struct Spi_ConfigType_s SpiDriver
SPI Configuration struct declaration.
void Spi_IrqUnitMcspi3TxRx(void)
SPI MCSPI3 ISR.
Spi_HwUnitType
This type defines a range of HW SPI Hardware microcontroller peripheral allocated to this Job.
Definition: Spi_Cfg.h:387
void Spi_IrqUnitMcspi0TxRx(void)
SPI MCSPI0 ISR.
void Spi_IrqUnitMcuMcspi2TxRx(void)
SPI MCU_MCSPI2 ISR.
void SpiApp_wbInvCache(uint8 *buf, uint16 len)
Cache write-back invalidate function.
void SpiApp_invCache(uint8 *buf, uint16 len)
Cache invalidate function.
#define SPI_HW_UNIT_CNT
Total HW units - used for array allocation. This should be +1 of the max unit number.
Definition: Spi_Cfg.h:369
void Spi_IrqUnitMcspi2TxRx(void)
SPI MCSPI2 ISR.
@ CSIB5
Definition: Spi_Cfg.h:398
@ CSIB8
Definition: Spi_Cfg.h:404
@ CSIB0
Definition: Spi_Cfg.h:388
@ CSIB4
Definition: Spi_Cfg.h:396
@ CSIB9
Definition: Spi_Cfg.h:406
@ CSIB2
Definition: Spi_Cfg.h:392
@ CSIB1
Definition: Spi_Cfg.h:390
@ CSIB3
Definition: Spi_Cfg.h:394
@ CSIB6
Definition: Spi_Cfg.h:400
@ CSIB10
Definition: Spi_Cfg.h:408
@ CSIB7
Definition: Spi_Cfg.h:402