53 #include <basictypes.h> 135 uint8_t QSPIInit(uint32_t baudRateInBps = 2000000, 136 uint8_t transferSizeInBits = 8,
137 uint8_t peripheralChipSelects = 0x0F,
138 uint8_t chipSelectPolarity = 1,
139 uint8_t clockPolarity = 0,
140 uint8_t clockPhase = 1,
142 uint8_t csToClockDelay = 0,
143 uint8_t delayAfterTransfer = 0);
160 uint8_t
QSPIStart(puint8_t transmitBufferPtr,
volatile uint8_t *receiveBufferPtr, uint32_t byteCount,
OS_SEM *finishedSem =
NULL);
uint8_t QSPIStart(puint8_t transmitBufferPtr, volatile uint8_t *receiveBufferPtr, uint32_t byteCount, OS_SEM *finishedSem=NULL)
Start QSPI Data Transfer.
Definition: dspi.h:465
Semaphores are used to control access to shared resource critical section, or to communicate between ...
Definition: nbrtos.h:318
uint16_t Command_Mask
This is a partial configuration for the queue's command reg.
Definition: qspi.h:186
volatile uint8_t * pQSPITxbuf
This pointer is used to track the locations in memory where data will be written to the peripheral...
Definition: qspi.h:183
BOOL QSPIdone(void)
Can be called after QSPIStart(). Returns TRUE when transfer is complete. This is an alternative to us...
Definition: dspi.h:479
uint32_t QSPI_SizeLeft
This is the number if bytes left in the transfer.
Definition: qspi.h:185
OS_SEM * QSPI_Sem
This is a pointer to an external semaphore provided by QSPIStart().
Definition: qspi.h:187
This struct contains the major variables/configurations used for a QSPI transfer. ...
Definition: qspi.h:180
#define NULL
Definition: nm_bsp.h:76
volatile uint8_t * pQSPIRxbuf
This pointer is used to track the locations in memory where data will be read from the peripheral...
Definition: qspi.h:182
uint8_t BitsPerQueue
This is the number if bits per transfer, (value = 8 - 32).
Definition: qspi.h:184