SPI Driver Object.
The structure is used to store the SPI driver internal variables. The application must not access any member variables of this structure!
Data Fields | |
MIBSPI_Handle | mibspiHandle |
SPI driver handle. More... | |
const MIBSPI_Attrs * | ptrHwCfg |
Pointer to MibSpi driver Hardware Configuration. More... | |
MIBSPI_OpenParams | params |
MibSpi driver parameters. More... | |
MIBSPI_DriverDmaInfo | dmaInfo [MIBSPI_PERIPHERAL_MAX] |
DMA information used in transfer for remote peers. More... | |
uint8_t | rambufStart [MIBSPI_PERIPHERAL_MAX] |
MibSPI mode RAM offset start settings for remote peers. More... | |
uint8_t | rambufEnd [MIBSPI_PERIPHERAL_MAX] |
MibSPI mode RAM offset end settings for remote peers. More... | |
uint16_t | rxScratchBuffer |
Rx Scratch buffer, used as scratch buffer to dump received data from SPI transfer when application does not provide receive buffer. More... | |
uint16_t | txScratchBuffer |
Tx Scratch buffer, used when TX data is not provided for SPI_transfer() The driver transmits txDummyValue from MIBSPI_OpenParams. More... | |
uint32_t | isOpen |
void * | transferSem |
SemaphoreP_Object | transferSemObj |
void * | hwiHandle |
HwiP_Object | hwiObj |
MIBSPI_HW_Stats | hwStats |
MibSpi driver stats. More... | |
MIBSPI_TransactionState | transactionState |
State info on current transaction. More... | |
uint32_t | edmaBaseAddr |
EDMA Base address used for MIBSPI transfer. More... | |
uint32_t | edmaRegionId |
EDMA Region used for MIBSPI transfer. More... | |
MIBSPI_EDMAChParams | edmaParamsTx [MIBSPI_DMA_REQLINE_MAX] |
EDMA Tx channel parameters allocated for MIBSPI. More... | |
MIBSPI_EDMAChParams | edmaParamsRx [MIBSPI_DMA_REQLINE_MAX] |
EDMA Rx channel parameters allocated for MIBSPI. More... | |
Edma_IntrObject | intrTxObj |
EDMA TX intr object. More... | |
Edma_IntrObject | intrRxObj |
EDMA RX intr object. More... | |
Edma_IntrObject | intrDummyObj |
EDMA Dummy intr object. More... | |
MIBSPI_Handle MIBSPI_Object::mibspiHandle |
SPI driver handle.
const MIBSPI_Attrs* MIBSPI_Object::ptrHwCfg |
Pointer to MibSpi driver Hardware Configuration.
MIBSPI_OpenParams MIBSPI_Object::params |
MibSpi driver parameters.
MIBSPI_DriverDmaInfo MIBSPI_Object::dmaInfo[MIBSPI_PERIPHERAL_MAX] |
DMA information used in transfer for remote peers.
uint8_t MIBSPI_Object::rambufStart[MIBSPI_PERIPHERAL_MAX] |
MibSPI mode RAM offset start settings for remote peers.
uint8_t MIBSPI_Object::rambufEnd[MIBSPI_PERIPHERAL_MAX] |
MibSPI mode RAM offset end settings for remote peers.
uint16_t MIBSPI_Object::rxScratchBuffer |
Rx Scratch buffer, used as scratch buffer to dump received data from SPI transfer when application does not provide receive buffer.
uint16_t MIBSPI_Object::txScratchBuffer |
Tx Scratch buffer, used when TX data is not provided for SPI_transfer() The driver transmits txDummyValue from MIBSPI_OpenParams.
uint32_t MIBSPI_Object::isOpen |
Flag to indicate whether the instance is opened already
void* MIBSPI_Object::transferSem |
Transfer Sync Sempahore - to sync between transfer completion ISR and task
SemaphoreP_Object MIBSPI_Object::transferSemObj |
Transfer Sync Sempahore object
void* MIBSPI_Object::hwiHandle |
Interrupt handle for controller ISR
HwiP_Object MIBSPI_Object::hwiObj |
Interrupt object
MIBSPI_HW_Stats MIBSPI_Object::hwStats |
MibSpi driver stats.
MIBSPI_TransactionState MIBSPI_Object::transactionState |
State info on current transaction.
uint32_t MIBSPI_Object::edmaBaseAddr |
EDMA Base address used for MIBSPI transfer.
uint32_t MIBSPI_Object::edmaRegionId |
EDMA Region used for MIBSPI transfer.
MIBSPI_EDMAChParams MIBSPI_Object::edmaParamsTx[MIBSPI_DMA_REQLINE_MAX] |
EDMA Tx channel parameters allocated for MIBSPI.
MIBSPI_EDMAChParams MIBSPI_Object::edmaParamsRx[MIBSPI_DMA_REQLINE_MAX] |
EDMA Rx channel parameters allocated for MIBSPI.
Edma_IntrObject MIBSPI_Object::intrTxObj |
EDMA TX intr object.
Edma_IntrObject MIBSPI_Object::intrRxObj |
EDMA RX intr object.
Edma_IntrObject MIBSPI_Object::intrDummyObj |
EDMA Dummy intr object.