MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Overview

Typical use case

SSP Operation

Refer to the driver examples codes located at <SDK_ROOT>/boards/<BOARD>/driver_examples/ssp

Data Structures

struct  ssp_spi_mode_config_t
 ssp motorola spi mode configuration More...
 
struct  ssp_psp_mode_config_t
 ssp psp mode configuration More...
 
struct  ssp_config_t
 ssp configuration More...
 
struct  ssp_transfer_t
 ssp transfer content More...
 
struct  ssp_handle_t
 SSP handle. More...
 

Driver version

enum  {
  kSSP_TransferStatusTxIdle = MAKE_STATUS(kStatusGroup_SSP, 0),
  kSSP_TransferStatusRxIdle = MAKE_STATUS(kStatusGroup_SSP, 1),
  kSSP_TransferStatusBusy = MAKE_STATUS(kStatusGroup_SSP, 2),
  kSSP_TransferStatusBitCountError = MAKE_STATUS(kStatusGroup_SSP, 3),
  kSSP_TransferStatusTxFifoError = MAKE_STATUS(kStatusGroup_SSP, 4),
  kSSP_TransferStatusRxFifoError = MAKE_STATUS(kStatusGroup_SSP, 5)
}
 transfer status More...
 
enum  ssp_transcevier_mode_t {
  kSSP_TransmitReceiveMode,
  kSSP_ReceiveMode
}
 ssp mode More...
 
enum  {
  kSSP_InterruptTransmitFifoUnderrun = 1U,
  kSSP_InterruptReceiveFifoOverrun = 2U,
  kSSP_InterruptBitCountError = 4U,
  kSSP_InterruptTransmitFifoReady = 8U,
  kSSP_InterruptReceiveFifoReady = 16U
}
 ssp interrupt mask More...
 
enum  ssp_transceiver_format_t {
  kSSP_TransceiverFormatSPI = 0U,
  kSSP_TransceiverFormatPSP = 3U
}
 ssp frame format More...
 
enum  ssp_clock_direction_t {
  kSSP_ClockDirectionMaster = 0U,
  kSSP_ClockDirectionSlave
}
 ssp clock direction More...
 
enum  ssp_data_width_t {
  kSSP_DataSize8Bit = 0x7U,
  kSSP_DataSize16Bit = 0xFU,
  kSSP_DataSize18Bit = 1U | (1U << 20U),
  kSSP_DataSize32Bit = 0xFU | (1U << 20U)
}
 ssp data size More...
 
enum  ssp_txd_last_phase_state_t {
  kSSP_TxdLastPhase3StatedHalfOfLSBClockCycle,
  kSSP_TxdLastPhase3StatedOnLSBEndClockEdge = 1U
}
 ssp txd last phase state More...
 
enum  ssp_txd_idle_state_t {
  kSSP_TxdIdleStateIsNot3Stated = 0U,
  kSSP_TxdIdleState3Stated = 1U
}
 ssp txd last phase state More...
 
enum  ssp_txd_end_transfer_state_t {
  kSSP_TxdEndTransferState0 = 0U,
  kSSP_TxdEndTransferState1 = 1U
}
 ssp txd end transfer state More...
 
enum  ssp_clock_polarity_t {
  kSSP_ClockPolarityLow = 0U,
  kSSP_ClockPolarityHigh = 1U
}
 ssp clk polarity More...
 
enum  ssp_bit_clock_mode_t {
  kSPP_BitClockIdleLowDrivenFallingSampleRising,
  kSPP_BitClockIdleLowDrivenRisingSampleFalling,
  kSPP_BitClockIdleHighDrivenRasingSampleFalling,
  kSPP_BitClockIdleHighDrivenFallingSampleRising
}
 ssp bit clock mode More...
 
enum  ssp_frame_sync_relative_timing_t {
  kSSP_FrameSyncAssertAfterEndOfDMTStop = 0U,
  kSSP_FrameSyncAssertWithTheLsbOfThePreviousFrame = 1U
}
 ssp frame sync relative timing bit More...
 
enum  ssp_spi_clock_phase_t {
  kSSP_SpiClkPhase0 = 0U,
  kSSP_SpiClkPhase1 = 1U
}
 ssp spi clk phase More...
 
typedef void(* ssp_transfer_callback_t )(ssp_handle_t *handle, status_t transferStatus, void *userData)
 SSP callback pointer.
 
#define FSL_SSP_DRIVER_VERSION   (MAKE_VERSION(2U, 0U, 0U))
 Driver version 2.0.0. More...
 
#define SSP_XFER_QUEUE_SIZE   4U
 SSP xfer queue size definition.
 

SSP Initialization and deinitialization

void SSP_GetDefaultConfig (ssp_config_t *config)
 SSP get default configuration. More...
 
void SSP_Init (SSP_Type *base, const ssp_config_t *config)
 SSP module initialization function. More...
 
void SSP_Deinit (SSP_Type *base)
 Deinitializes the SSP. More...
 
uint32_t SSP_GetInstance (SSP_Type *base)
 Get SSP instance index. More...
 

SSP bus functional interface

void SSP_GetDefaultSPIModeConfig (ssp_spi_mode_config_t *config)
 SSP get default SPI mode configuration. More...
 
void SSP_SetSPIModeConfig (SSP_Type *base, const ssp_spi_mode_config_t *config)
 SSP set SPI mode configuration. More...
 
void SSP_GetDefaultPSPModeConfig (ssp_psp_mode_config_t *config)
 SSP get default PSP mode configuration. More...
 
void SSP_SetPSPModeConfig (SSP_Type *base, const ssp_psp_mode_config_t *config)
 SSP set PSP mode configuration. More...
 
static void SSP_EnableLoopBackMode (SSP_Type *base, bool enable)
 SSP enable/disable loop back mode. More...
 
static void SSP_WriteData (SSP_Type *base, uint32_t data)
 SSP write data fifo. More...
 
static uint32_t SSP_ReadData (SSP_Type *base)
 SSP read data fifo. More...
 
static void SSP_Enable (SSP_Type *base, bool enable)
 SSP enable/disable. More...
 

SSP interrupt functional interface

void SSP_EnableInterrupt (SSP_Type *base, uint32_t interruptMask)
 SSP enable interrupt. More...
 
void SSP_DisableInterrupt (SSP_Type *base, uint32_t interruptMask)
 SSP disable interrupt. More...
 
void SSP_ClearInterruptStatus (SSP_Type *base, uint32_t interruptMask)
 SSP clear interrupt status. More...
 
uint32_t SSP_GetInterruptStatus (SSP_Type *base)
 brief SSP get interrupt status. More...
 

SSP dma functional interface

static void SSP_EnableSendDMARequest (SSP_Type *base, bool enable)
 SSP enable/disable tx DMA requst. More...
 
static void SSP_EnableReceiveDMARequest (SSP_Type *base, bool enable)
 SSP enable/disable rx DMA requst. More...
 
static uint32_t SSP_GetFifoAddress (SSP_Type *base)
 SSP get data fifo address. More...
 

SSP transactional interface

void SSP_TransferSendCreateHandle (SSP_Type *base, ssp_handle_t *handle, ssp_transfer_callback_t callback, void *userData)
 Creates the SSP send handle. More...
 
void SSP_TransferReceiveCreateHandle (SSP_Type *base, ssp_handle_t *handle, ssp_transfer_callback_t callback, void *userData)
 Creates the SSP receive handle. More...
 
status_t SSP_TransferSendNonBlocking (ssp_handle_t *handle, ssp_transfer_t *transfer)
 Send the data using an interrupt and an asynchronous method. More...
 
status_t SSP_TransferReceiveNonBlocking (ssp_handle_t *handle, ssp_transfer_t *transfer)
 Receive the data using an interrupt and an asynchronous method. More...
 
void SSP_TransferAbortSend (ssp_handle_t *handle)
 Aborts the current send. More...
 
void SSP_TransferAbortReceive (ssp_handle_t *handle)
 Aborts the current IRQ receive. More...
 
void SSP_TransferSendHandleIRQ (ssp_handle_t *handle)
 IRQ handler for the SSP transmitter. More...
 
void SSP_TransferReceiveHandleIRQ (ssp_handle_t *handle)
 IRQ handler for the SSP receiver. More...
 

Data Structure Documentation

struct ssp_spi_mode_config_t

Data Fields

ssp_clock_polarity_t spiClockPolarity
 SPI clock polarity.
 
ssp_spi_clock_phase_t spiClockPhase
 SPI clock pahse.
 
ssp_clock_direction_t spiClockDirection
 SPI clock direction for serial bit clock direction and frame clock direction.
 
ssp_data_width_t dataWidth
 data width 8/16/18/32 bits
 
ssp_txd_idle_state_t txdIdleState
 txd state when idle
 
ssp_txd_last_phase_state_t txdLastPhaseState
 txd last phase state
 
struct ssp_psp_mode_config_t

Data Fields

ssp_clock_direction_t bitClockDirection
 bit clock generate internally or input externally
 
ssp_bit_clock_mode_t bitClockMode
 bit clock mode
 
ssp_clock_direction_t frameClockDirection
 frame clock generate internally or input externally
 
ssp_clock_polarity_t frameClockPolarity
 frame clock polarity
 
ssp_frame_sync_relative_timing_t frameRelativeTiming
 frame sync relative timing
 
ssp_txd_idle_state_t txdIdleState
 txd state when idle
 
ssp_txd_last_phase_state_t txdLastPhaseState
 txd last phase state
 
ssp_txd_end_transfer_state_t txdEndTransferState
 txd end transfer state
 
ssp_data_width_t dataWidth
 data width 8/16/18/32 bits
 
uint8_t frameLength
 frame length, valid range 1-0x3F SSPSCLKx cycles
 
uint8_t dummyStartDelay
 The MSB of the dummy start delay.
 
uint8_t dummyStopDelay
 The MSB of the dummy stop delay.
 
uint8_t startDelay
 number of 0-7 non-active clocks that defines the duration of idle time
 
uint8_t frameDelay
 Programmed value specifies the number (0 -127) of active one-half clocks (SSPSCLKx) asserted from the most-significant bit of TXDx (output) or RXD (input) being driven to SSPSFRMx. More...
 
bool enableNetWorkMode
 network should be enabled when emulating I2S protocol
 
uint8_t frameSlotsNumber
 the tims slots number per frame, 1-8 can be specified
 
uint8_t txActiveSlotMask
 
 the each bit in the txActiveSlotMask represent a time slot

0 is the SSP does not transmit data in this time slot, 1 is the SSP does transmit data in this time slot, so txActiveSlotMask = 3 means slot 0 and 1 is enabled, other slots are disabled

 
uint8_t rxActiveSlotMask
 
 the each bit in the txActiveSlotMask represent a time slot

0 is the SSP does not transmit data in this time slot, 1 is the SSP does transmit data in this time slot, so txActiveSlotMask = 3 means slot 0 and 1 is enabled, other slots are disabled

 

Field Documentation

uint8_t ssp_psp_mode_config_t::frameDelay
struct ssp_config_t

Data Fields

bool enableRXHalfCycleDelay
 true is enable rx half cycle delay, false is disable
 
bool enableMasterClockReturn
 true is enable master clock delay, false is disable
 
bool enableSlaveClockFreeRuning
 true is clock input to SSPSCLKx is only active during data transfer false is clock input to SSPSCLKx is continuously runing
 
bool enableFifoPackingMode
 fifo packing mode
 
uint8_t txFifoWaterMark
 tx fifo watermark value
 
uint8_t rxFifoWaterMark
 rx fifo watermark value
 
ssp_transcevier_mode_t mode
 transceiver work mode
 
ssp_transceiver_format_t format
 transceiver work format
 
void * transceiverConfig
 transceiver configuration pointer, should be a pointer of More...
 

Field Documentation

void* ssp_config_t::transceiverConfig
struct ssp_transfer_t

Data Fields

void * dataBuffer
 the pointer of data buffer
 
uint32_t dataSize
 the size of data to be transferred
 
struct _ssp_handle

SSP handle typedef.

Defines the structure to save the SSP state information and callback function. A ssp_handle variable can be used to represent either SSP TX or SSP RX.

Data Fields

SSP_Type * base
 ssp base address
 
uint32_t bitWidth
 bit width
 
uint32_t sspFifoWatermark
 ssp fifo WaterMark
 
ssp_transfer_t sspQueue [SSP_XFER_QUEUE_SIZE]
 ssp queue storing queued transfer
 
volatile uint8_t sspQueueUser
 Index for user to queue transfer.
 
volatile uint8_t sspQueueDriver
 Index for driver to get the transfer data and size.
 
ssp_transfer_callback_t callback
 Callback function. More...
 
void * userData
 Parameter for transfer complete callback. More...
 

Field Documentation

ssp_transfer_callback_t ssp_handle_t::callback
void* ssp_handle_t::userData

Macro Definition Documentation

#define FSL_SSP_DRIVER_VERSION   (MAKE_VERSION(2U, 0U, 0U))

Enumeration Type Documentation

anonymous enum
Enumerator
kSSP_TransferStatusTxIdle 

ssp status idle

kSSP_TransferStatusRxIdle 

ssp status idle

kSSP_TransferStatusBusy 

ssp status busy

kSSP_TransferStatusBitCountError 

ssp status bit count error

kSSP_TransferStatusTxFifoError 

ssp status tx fifo error

kSSP_TransferStatusRxFifoError 

ssp status rx fifo error

Enumerator
kSSP_TransmitReceiveMode 

ssp tansmit and receive mode

kSSP_ReceiveMode 

ssp receive without transmit mode

anonymous enum

Enumerator
kSSP_InterruptTransmitFifoUnderrun 

transmit fifo underrun

kSSP_InterruptReceiveFifoOverrun 

receive fifo underrun

kSSP_InterruptBitCountError 

bit count error

kSSP_InterruptTransmitFifoReady 

transmit fifo ready for write

kSSP_InterruptReceiveFifoReady 

receive fifo ready for read

Enumerator
kSSP_TransceiverFormatSPI 

frame format serial Peripheral Interface

kSSP_TransceiverFormatPSP 

frame format programmable serial protocol

Enumerator
kSSP_ClockDirectionMaster 

SSP clock direction master.

kSSP_ClockDirectionSlave 

SSP clock direction slave.

Enumerator
kSSP_DataSize8Bit 

SSP data size 8 bit.

kSSP_DataSize16Bit 

SSP data size 16 bit.

kSSP_DataSize18Bit 

SSP data size 18 bit.

kSSP_DataSize32Bit 

SSP data size 32 bit.

Enumerator
kSSP_TxdLastPhase3StatedHalfOfLSBClockCycle 

txdx is 3-stated 1/2 clock cycle after the beginning of the LSB

kSSP_TxdLastPhase3StatedOnLSBEndClockEdge 

txdx is 3-stated on the clock edge that ends the LSB

Enumerator
kSSP_TxdIdleStateIsNot3Stated 

txdx is not 3-stated when not transmitting data

kSSP_TxdIdleState3Stated 

txdx is 3-stated when not transmitting data

Enumerator
kSSP_TxdEndTransferState0 

txd end transfer state 0

kSSP_TxdEndTransferState1 

txd end transfer state 1

Enumerator
kSSP_ClockPolarityLow 

clock polarity low

kSSP_ClockPolarityHigh 

clock polarity high

Enumerator
kSPP_BitClockIdleLowDrivenFallingSampleRising 

data driven on falling edge, sample on rising edge, ide state low

kSPP_BitClockIdleLowDrivenRisingSampleFalling 

data driven on rising edge, sample on falling edge, ide state low

kSPP_BitClockIdleHighDrivenRasingSampleFalling 

data driven on rising edge, sample on falling edge, ide state high

kSPP_BitClockIdleHighDrivenFallingSampleRising 

data driven on falling edge, sample on rising edge, ide state high

Enumerator
kSSP_FrameSyncAssertAfterEndOfDMTStop 

next frame assert after the end of the DMTSTOP timing

kSSP_FrameSyncAssertWithTheLsbOfThePreviousFrame 

next frame assert with the LSB of previous frame

Enumerator
kSSP_SpiClkPhase0 

motorola clk inactive until one cycle after the start of frame and active until 1/2 cycle before the end of a frame

kSSP_SpiClkPhase1 

motorola clk inactive until 1/2 cycle after the start of frame and active until 1 cycle before the end of a frame

Function Documentation

void SSP_GetDefaultConfig ( ssp_config_t config)
* config->enableRXHalfCycleDelay = false;
* config->enableMasterClockReturn = false;
* config->enableFifoPackingMode = false;
* config->enableSlaveClockFreeRuning = false;
* config->txFifoWaterMark = SSP_FIFO_COUNT(32) / 2U;
* config->rxFifoWaterMark = SSP_FIFO_COUNT(32) / 2U;
* config->mode = kSSP_TransmitReceiveMode;
* config->format = kSSP_TransceiverFormatPSP;
*
Parameters
configthe pointer of ssp configuration structure.
void SSP_Init ( SSP_Type *  base,
const ssp_config_t config 
)

Configures the SSP according to the user configuration.

Parameters
baseSSP peripheral base address.
configSSP configuration information.
void SSP_Deinit ( SSP_Type *  base)
Parameters
baseSSP peripheral base address.
uint32_t SSP_GetInstance ( SSP_Type *  base)

Used for SSP DMA driver only.

Parameters
baseSSP peripheral base address.
void SSP_GetDefaultSPIModeConfig ( ssp_spi_mode_config_t config)

The default SSP SPI mode configurations:

* config->spiClockPolarity = kSSP_ClockPolarityLow;
* config->spiClockPhase = kSSP_SpiClkPhase0;
* config->spiClockDirection = kSSP_ClockDirectionMaster;
* config->dataWidth = kSSP_DataSize8Bit;
* config->txdIdleState = kSSP_TxdIdleStateIsNot3Stated;
* config->txdLastPhaseState = kSSP_TxdLastPhase3StatedHalfOfLSBClockCycle;
*
Parameters
configthe pointer of ssp configuration structure.
void SSP_SetSPIModeConfig ( SSP_Type *  base,
const ssp_spi_mode_config_t config 
)
Parameters
baseSSP peripheral base address.
configthe pointer of ssp spi mode configuration structure.
void SSP_GetDefaultPSPModeConfig ( ssp_psp_mode_config_t config)

The default SSP PSP mode configurations are 16bit, 2 slots, i2s protocol.

* config->bitClockDirection = kSSP_ClockDirectionMaster;
* config->frameClockDirection = kSSP_ClockDirectionMaster;
* config->frameClockPolarity = kSSP_ClockPolarityLow;
* config->frameRelativeTiming = kSSP_FrameSyncAssertWithTheLsbOfThePreviousFrame;
* config->txdIdleState = kSSP_TxdIdleStateIsNot3Stated;
* config->txdLastPhaseState = kSSP_TxdLastPhase3StatedOnLSBEndClockEdge;
* config->txdEndTransferState = kSSP_TxdEndTransferState0;
* config->dataWidth = kSSP_DataSize16Bit;
* config->frameLength = 16U;
* config->enableNetWorkMode = true;
* config->frameSlotsNumber = 2U;
* config->txActiveSlotMask = 3U;
* config->rxActiveSlotMask = 3U;
* config->dummyStartDelay = 0U;
* config->dummyStopDelay = 0U;
* config->startDelay = 0U;
* config->frameDelay = 0U;
*
Parameters
configthe pointer of PSP configuration structure.
void SSP_SetPSPModeConfig ( SSP_Type *  base,
const ssp_psp_mode_config_t config 
)
Parameters
baseSSP peripheral base address.
configthe pointer of ssp psp mode configuration structure.
static void SSP_EnableLoopBackMode ( SSP_Type *  base,
bool  enable 
)
inlinestatic

The tx serial shifter is internally connected to input of RX serial shifter, the loopback mode used for test purpose only.

Parameters
baseSSP peripheral base address.
enabletrue is enable the loop back mode, false is disable the loop back mode.
static void SSP_WriteData ( SSP_Type *  base,
uint32_t  data 
)
inlinestatic

When a data sample size of less than 32-bits is selected, or 16 bits for packed mode, software should right-justify the data that is written to the SSP Data Register for automatic insertion into the TXFIFO. The transmit logic left-justifies the data and ignores any unused bits, cannot perform a write in packed mode of less than 32 bits wide.

Parameters
baseSSP peripheral base address.
datadata to write.
static uint32_t SSP_ReadData ( SSP_Type *  base)
inlinestatic

Received data of less than 32 bits is right-justified automatically in the RXFIFO

Parameters
baseSSP peripheral base address.
Returns
data value read from fifo.
static void SSP_Enable ( SSP_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseSSP peripheral base address.
enabletrue is enable, false is disable.
void SSP_EnableInterrupt ( SSP_Type *  base,
uint32_t  interruptMask 
)
Parameters
baseSSP peripheral base address
interruptMaskthe Interrupt to be enabled, can a value or OR value of _ssp_interrupt_mask.
void SSP_DisableInterrupt ( SSP_Type *  base,
uint32_t  interruptMask 
)
Parameters
baseSSP peripheral base address
interruptMaskthe Interrupt to be disable, can a value or OR value of _ssp_interrupt_mask.
void SSP_ClearInterruptStatus ( SSP_Type *  base,
uint32_t  interruptMask 
)

Note: Transmit fifo ready flag and receive fifo flag do not support clear by software.

Parameters
baseSSP peripheral base address
interruptMaskthe Interrupt to be cleared, can a value or OR'ed value of _ssp_interrupt_mask.
uint32_t SSP_GetInterruptStatus ( SSP_Type *  base)
Parameters
baseSSP peripheral base address
Returns
interrupt status flag, a value or OR'ed value of _ssp_interrupt_mask.
static void SSP_EnableSendDMARequest ( SSP_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseSSP peripheral base address.
enabletrue is enable TX dma request, false is disable
static void SSP_EnableReceiveDMARequest ( SSP_Type *  base,
bool  enable 
)
inlinestatic
Parameters
baseSSP peripheral base address.
enabletrue is enable RX dma request, false is disable
static uint32_t SSP_GetFifoAddress ( SSP_Type *  base)
inlinestatic
Parameters
baseSSP peripheral base address.
Returns
the ssp data fifo register address.
void SSP_TransferSendCreateHandle ( SSP_Type *  base,
ssp_handle_t *  handle,
ssp_transfer_callback_t  callback,
void *  userData 
)
Parameters
baseSSP peripheral base address.
handleSSP handle pointer.
callbackStructure pointer to contain all callback functions.
userDataCallback function parameter.
void SSP_TransferReceiveCreateHandle ( SSP_Type *  base,
ssp_handle_t *  handle,
ssp_transfer_callback_t  callback,
void *  userData 
)
Parameters
baseSSP peripheral base address.
handleSSP handle pointer.
callbackStructure pointer to contain all callback functions.
userDataCallback function parameter.
status_t SSP_TransferSendNonBlocking ( ssp_handle_t *  handle,
ssp_transfer_t transfer 
)

This function sends data and returns immediately. It doesn't wait for the transfer to complete or to encounter an error. The application can submit multiple transfer requests without waiting previous transfer request complete, since the SSP driver maintained a software transfer queue, the sizeof the queue is configurable by macro SSP_XFER_QUEUE_SIZE which indicates how many request can be submitted at the same time.

Note
Call API SSP_TransferSendCreateHandle when calling this API.
Parameters
handleSSP handle.
transfertransfer pointer.
Return values
kStatus_InvalidArgumentArgument is invalid.
kSSP_TransferStatusBusyBusy transferring.
kStatus_SuccessOperate successfully.
status_t SSP_TransferReceiveNonBlocking ( ssp_handle_t *  handle,
ssp_transfer_t transfer 
)

This function sends data and returns immediately. It doesn't wait for the transfer to complete or to encounter an error. The application can submit multiple transfer requests without waiting previous transfer request complete, since the SSP driver maintained a software transfer queue, the sizeof the queue is configurable by macro SSP_XFER_QUEUE_SIZE which indicates how many request can be submitted at the same time.

Note
Call API SSP_TransferReceiveCreateHandle when calling this API.
Parameters
handleSSP handle.
transfertransfer pointer.
Return values
kStatus_InvalidArgumentArgument is invalid.
kSSP_TransferStatusBusyBusy transferring.
kStatus_SuccessOperate successfully.
void SSP_TransferAbortSend ( ssp_handle_t *  handle)
Note
This API can be called any time when an interrupt non-blocking transfer initiates to abort the transfer early.
Parameters
handlePointer to the ssp_handle_t structure which stores the transfer state.
void SSP_TransferAbortReceive ( ssp_handle_t *  handle)
Note
This API can be called when an interrupt non-blocking transfer initiates to abort the transfer early.
Parameters
handlePointer to the ssp_handle_t structure which stores the transfer state.
void SSP_TransferSendHandleIRQ ( ssp_handle_t *  handle)

This function deals with the IRQs on the given host controller.

Parameters
handleSSP handle.
void SSP_TransferReceiveHandleIRQ ( ssp_handle_t *  handle)

This function deals with the IRQs on the given host controller.

Parameters
handleSSP handle.