NetBurner 3.5.0
PDF Version
 
qspi.h File Reference

NetBurner MCF5441x QSPI API (Queued Serial Peripheral Interface) More...

#include <basictypes.h>
#include <nbrtos.h>

Go to the source code of this file.

Classes

struct  QSPI_Record
 This struct contains the major variables/configurations used for a QSPI transfer. More...
 

Macros

#define QSPI_OK   (0)
 QSPI is busy.
 
#define QSPI_BUSY   (1)
 QSPI is ready.
 

Functions

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)
 
uint8_t QSPIStart (puint8_t transmitBufferPtr, volatile uint8_t *receiveBufferPtr, uint32_t byteCount, OS_SEM *finishedSem=NULL)
 Start QSPI Data Transfer.
 
BOOL QSPIdone (void)
 Can be called after QSPIStart(). Returns TRUE when transfer is complete. This is an alternative to using a semaphore.
 

Detailed Description

NetBurner MCF5441x QSPI API (Queued Serial Peripheral Interface)