46 #include "../../../../utils/utility.h" 57 #define QSPID_ERROR_LOCK 2 59 #define QSPID_CH_NOT_ENABLED 0xFF uint32_t QSPID_ReadWriteQSPI(QspiDma_t *pQspidma, Access_t const ReadWrite)
Starts a QSPI read or write operation.
Definition: qspi_dma.c:533
Definition: qspi_dma.h:69
uint32_t QSPID_DisableQspiTxChannel(QspiDma_t *pQspidma)
Disables a QSPI Tx channel. This function will de-allocate previous allocated dma Tx channel for QSPI...
Definition: qspi_dma.c:475
uint32_t QSPID_IsBusy(volatile uint8_t *QspiSemaphore)
Check if the QSPI driver is busy.
Definition: qspi_dma.c:613
volatile uint8_t progress
Definition: qspi_dma.h:80
uint8_t Polling
Definition: qspi_dma.h:74
Access_t
qspi access modes
Definition: qspi.h:80
uint32_t QSPID_EnableQspiRxChannel(QspiDma_t *pQspidma)
Enables a QSPI Rx channel. This function will allocate a dma Rx channel for QSPI. ...
Definition: qspi_dma.c:315
uint8_t RxChNum
Definition: qspi_dma.h:78
void(* QspidCallback)(uint8_t, void *)
Definition: qspi_dma.h:65
uint32_t QSPID_Configure(QspiDma_t *pQspidma, QspiMode_t Mode, uint32_t dwConfiguration, sXdmad *pXdmad)
Initializes the pQspidma structure and the corresponding QSPI & DMA . hardware select value...
Definition: qspi_dma.c:284
uint32_t QSPID_DisableQspiRxChannel(QspiDma_t *pQspidma)
Disables a QSPI Rx channel. This function will de-allocate previous allocated dma Rx channel for QSPI...
Definition: qspi_dma.c:446
qspi driver structure
Definition: qspi.h:176
uint32_t QSPID_DisableSpiChannel(QspiDma_t *pQspidma)
Disables a QSPI SPI Rx and Tx channels. This function will de-allocate privious allocated dma Rx...
Definition: qspi_dma.c:502
uint32_t QSPID_EnableQspiTxChannel(QspiDma_t *pQspidma)
Enables a QSPI Tx channel. This function will allocate a dma Tx channel for QSPI. ...
Definition: qspi_dma.c:352
QspiMode_t
qspi modes SPI or QSPI
Definition: qspi.h:88
sXdmad * pXdmad
Definition: qspi_dma.h:72
uint8_t TxChNum
Definition: qspi_dma.h:76
uint32_t QSPID_ReadWriteSPI(QspiDma_t *pQspidma, Access_t const ReadWrite)
Starts a SPI master transfer. This is a non blocking function. It will return as soon as the transfer...
Definition: qspi_dma.c:576
uint32_t QSPID_EnableSpiChannel(QspiDma_t *pQspidma)
Enables a QSPI SPI Rx channel. This function will allocate a dma Rx channel for QSPI SPI mode...
Definition: qspi_dma.c:389