This section describes the programming interface of the DSPI shared IRQ driver for master and slave Peripheral drivers.
|
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...
|
|
|
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...
|
|
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
-
instance | The 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
-
instance | The instance number of the DSPI peripheral. |
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] |