![]() |
MCUSW
|
SPI config structure.
Data Fields | |
uint8 | maxChannels |
uint8 | maxJobs |
uint8 | maxSeq |
uint8 | maxHwUnit |
uint8 | maxExtDevCfg |
uint32 | udmaInstId |
Spi_CacheWbInv | cacheWbInv |
Spi_CacheWb | cacheWb |
Spi_CacheInv | cacheInv |
Spi_ChannelConfigType | channelCfg [SPI_MAX_CHANNELS] |
Spi_JobConfigType | jobCfg [SPI_MAX_JOBS] |
Spi_SeqConfigType | seqCfg [SPI_MAX_SEQ] |
Spi_HwUnitConfigType | hwUnitCfg [SPI_MAX_HW_UNIT] |
Spi_ExternalDeviceConfigType | extDevCfg [SPI_MAX_EXT_DEV] |
uint8 Spi_ConfigType::maxChannels |
Maximum number of channels. Should not be more than SPI_MAX_CHANNELS
uint8 Spi_ConfigType::maxJobs |
Maximum number of jobs Should not be more than SPI_MAX_JOBS
uint8 Spi_ConfigType::maxSeq |
Maximum number of sequences Should not be more than SPI_MAX_SEQ
uint8 Spi_ConfigType::maxHwUnit |
Maximum number of HW unit Should not be more than SPI_MAX_HW_UNIT
uint8 Spi_ConfigType::maxExtDevCfg |
Maximum number of external device configurations Should not be more than SPI_MAX_EXT_DEV
uint32 Spi_ConfigType::udmaInstId |
UDMA Instance Id. Based on core in which the SpiDriver is running Udma Instance should be chosen
Spi_CacheWbInv Spi_ConfigType::cacheWbInv |
Cache write-back invalidate function
Spi_CacheWb Spi_ConfigType::cacheWb |
Cache write-back function
Spi_CacheInv Spi_ConfigType::cacheInv |
Cache invalidate function
Spi_ChannelConfigType Spi_ConfigType::channelCfg[SPI_MAX_CHANNELS] |
Channel configurations
Spi_JobConfigType Spi_ConfigType::jobCfg[SPI_MAX_JOBS] |
Job configurations
Spi_SeqConfigType Spi_ConfigType::seqCfg[SPI_MAX_SEQ] |
Sequence configurations
Spi_HwUnitConfigType Spi_ConfigType::hwUnitCfg[SPI_MAX_HW_UNIT] |
HW Unit configurations
Spi_ExternalDeviceConfigType Spi_ConfigType::extDevCfg[SPI_MAX_EXT_DEV] |
External HW device config