OSPI instance attributes - used during init time.
Data Fields | |
| uint32_t | baseAddr | 
| uint32_t | dataBaseAddr | 
| uint32_t | inputClkFreq | 
| uint32_t | protocol | 
| uint32_t | intrNum | 
| uint32_t | intrEnable | 
| uint8_t | intrPriority | 
| uint32_t | dmaEnable | 
| uint32_t | phyEnable | 
| uint32_t | dacEnable | 
| uint32_t | frmFmt | 
| uint32_t | devDelays [4] | 
| uint32_t | chipSelect | 
| uint32_t | decChipSelect | 
| uint32_t | readMode | 
| uint32_t | baudRateDiv | 
| const OSPI_AddrRegion * | dmaRestrictedRegions | 
| OSPI_PhyConfiguration | phyConfiguration | 
| uint32_t OSPI_Attrs::baseAddr | 
Peripheral base address
| uint32_t OSPI_Attrs::dataBaseAddr | 
Base address of the OSPI flash
| uint32_t OSPI_Attrs::inputClkFreq | 
Module input clock frequency
| uint32_t OSPI_Attrs::protocol | 
Protocol for OSPI reading/writing. 32 bit integer with byte0 -> data lines byte1 -> addr lines byte2 -> cmd lines byte3 -> STR/DTR (0 = STR, 1 = DTR)
| uint32_t OSPI_Attrs::intrNum | 
Peripheral interrupt number
| uint32_t OSPI_Attrs::intrEnable | 
Enable interrupt mode
| uint8_t OSPI_Attrs::intrPriority | 
Interrupt priority
| uint32_t OSPI_Attrs::dmaEnable | 
Enable DMA mode
| uint32_t OSPI_Attrs::phyEnable | 
Enable PHY mode
| uint32_t OSPI_Attrs::dacEnable | 
Enable DAC mode
| uint32_t OSPI_Attrs::frmFmt | 
Ospi Frame Format
| uint32_t OSPI_Attrs::devDelays[4] | 
OSPI device delays (CSSOT, CSEOT, CSDADS and CSDA delays)
| uint32_t OSPI_Attrs::chipSelect | 
Ospi Chip select number
| uint32_t OSPI_Attrs::decChipSelect | 
Decoder Chip select number
| uint32_t OSPI_Attrs::readMode | 
Select read mode DAC/INDAC
| uint32_t OSPI_Attrs::baudRateDiv | 
Baud-rate divisor to derive DQS and other output clks
| const OSPI_AddrRegion* OSPI_Attrs::dmaRestrictedRegions | 
Pointer to array of OSPI_AddrRegion data structures filled by SysConfig. The array should be terminated by a { 0xFFFFFFFFU, 0U } entry. It is used while using DMA copy to check if the destination address is a region not accessible to DMA and switch to CPU copy
| OSPI_PhyConfiguration OSPI_Attrs::phyConfiguration | 
OSPI PHY configuration params