67#include <basictypes.h>
142uint8_t
QSPIInit(uint32_t baudRateInBps = 2000000,
143 uint8_t transferSizeInBits = 8,
144 uint8_t peripheralChipSelects = 0x0F,
145 uint8_t chipSelectPolarity = 1,
146 uint8_t clockPolarity = 0,
147 uint8_t clockPhase = 1,
149 uint8_t csToClockDelay = 0,
150 uint8_t delayAfterTransfer = 0);
167uint8_t
QSPIStart(puint8_t transmitBufferPtr,
volatile uint8_t *receiveBufferPtr, uint32_t byteCount,
OS_SEM *finishedSem = NULL);
uint8_t QSPIInit(uint32_t baudRateInBps=2000000, uint8_t transferSizeInBits=8, uint8_t peripheralChipSelects=0x0F, uint8_t chipSelectPolarity=1, uint8_t clockPolarity=0, uint8_t clockPhase=1, BOOL doutHiz=TRUE, uint8_t csToClockDelay=0, uint8_t delayAfterTransfer=0)
Initialize Queued Serial Peripheral Interface (QSPI)
Definition coldfire/cpu/MCF5441X/include/dspi.h:620
uint8_t QSPIStart(puint8_t transmitBufferPtr, volatile uint8_t *receiveBufferPtr, uint32_t byteCount, OS_SEM *finishedSem=NULL)
Start QSPI Data Transfer.
Definition coldfire/cpu/MCF5441X/include/dspi.h:634
BOOL QSPIdone(void)
Can be called after QSPIStart(). Returns TRUE when transfer is complete. This is an alternative to us...
Definition coldfire/cpu/MCF5441X/include/dspi.h:639
NetBurner Real-Time Operating System (NBRTOS) API.
Semaphores are used to control access to shared resources or or to communicate between tasks in a mul...
Definition nbrtos.h:386
This struct contains the major variables/configurations used for a QSPI transfer.
Definition qspi.h:188
uint8_t BitsPerQueue
This is the number if bits per transfer, (value = 8 - 32).
Definition qspi.h:191
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:189
uint16_t Command_Mask
This is a partial configuration for the queue's command reg.
Definition qspi.h:193
uint32_t QSPI_SizeLeft
This is the number if bytes left in the transfer.
Definition qspi.h:192
OS_SEM * QSPI_Sem
This is a pointer to an external semaphore provided by QSPIStart().
Definition qspi.h:194
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:190