Kinetis SDK v.1.3 API Reference Manual  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Overview

This section describes the programming interface of the DSPI shared IRQ driver for master and slave Peripheral drivers.

Functions

void DSPI_DRV_EdmaIRQHandler (uint32_t instance)
 The function DSPI_DRV_EdmaIRQHandler passes IRQ control to either the master or slave driver. More...
 
void DSPI_DRV_IRQHandler (uint32_t instance)
 The function DSPI_DRV_IRQHandler passes IRQ control to either the master or slave driver. More...
 

Variables

SPI_Type *const g_dspiBase [SPI_INSTANCE_COUNT]
 Table of base pointers for SPI instances. More...
 
const IRQn_Type g_dspiIrqId [SPI_INSTANCE_COUNT]
 Table to save DSPI IRQ enumeration numbers defined in the CMSIS header file. More...
 
SPI_Type *const g_dspiBase [SPI_INSTANCE_COUNT]
 Table of base pointers for SPI instances. More...
 
const IRQn_Type g_dspiIrqId [SPI_INSTANCE_COUNT]
 Table to save DSPI IRQ enumeration numbers defined in the CMSIS header file. More...
 

Function Documentation

void DSPI_DRV_EdmaIRQHandler ( uint32_t  instance)

The address of the IRQ handlers are checked to make sure they are non-zero before they are called. If the IRQ handler's address is zero, it means that driver was not present in the link (because the IRQ handlers are marked as weak). This would actually be a program error, because it means the master/slave config for the IRQ was set incorrectly.

Parameters
instanceThe instance number of the DSPI peripheral.
void DSPI_DRV_IRQHandler ( uint32_t  instance)

The address of the IRQ handlers are checked to make sure they are non-zero before they are called. If the IRQ handler's address is zero, it means that driver was not present in the link (because the IRQ handlers are marked as weak). This would actually be a program error, because it means the master/slave configuration for the IRQ was set incorrectly.

Parameters
instanceThe instance number of the DSPI peripheral.

Variable Documentation

SPI_Type* const g_dspiBase[SPI_INSTANCE_COUNT]
const IRQn_Type g_dspiIrqId[SPI_INSTANCE_COUNT]
SPI_Type* const g_dspiBase[SPI_INSTANCE_COUNT]
const IRQn_Type g_dspiIrqId[SPI_INSTANCE_COUNT]