/*! OLED_SPI IRQ handler */ void SPI2_IRQHandler(void) { #if OLED_SPI_DMA_MODE DSPI_DRV_EdmaIRQHandler(FSL_OLED_SPI); #else DSPI_DRV_IRQHandler(FSL_OLED_SPI); #endif /* Write your code here ... */ }
/*! spiCom1 IRQ handler */ void SPI0_IRQHandler(void) { #if SPICOM1_DMA_MODE DSPI_DRV_EdmaIRQHandler(FSL_SPICOM1); #else DSPI_DRV_IRQHandler(FSL_SPICOM1); #endif /* Write your code here ... */ }
/*! FLASH_SPI IRQ handler */ void SPI1_IRQHandler(void) { #if FLASH_SPI_DMA_MODE DSPI_DRV_EdmaIRQHandler(FSL_FLASH_SPI); #else DSPI_DRV_IRQHandler(FSL_FLASH_SPI); #endif /* Write your code here ... */ }
/* ** =================================================================== ** Interrupt handler : SPI0_IRQHandler ** ** Description : ** User interrupt service routine. ** Parameters : None ** Returns : Nothing ** =================================================================== */ void SPI0_IRQHandler(void) { #if sd_spi_DMA_MODE #if FSL_FEATURE_SOC_EDMA_COUNT /* fsl_dspi_edma driver handler (dma mode) */ DSPI_DRV_EdmaIRQHandler(sd_spi_IDX); #else /* fsl_dspi_dma driver does not have handler. DMA callbacks are used instead. */ #endif #else /* fsl_dspi driver handler (interrupt mode) */ DSPI_DRV_IRQHandler(sd_spi_IDX); #endif /* Write your code here ... */ }
/*! * @brief This function is the implementation of SPI1 handler named in startup code. * * It passes the instance to the shared DSPI IRQ handler. */ void SPI1_IRQHandler(void) { DSPI_DRV_IRQHandler(SPI1_IDX); }
/*! * @brief This function is the implementation of SPI1 handler named in startup code. * * It passes the instance to the shared DSPI IRQ handler. */ void SPI1_IRQHandler(void) { DSPI_DRV_IRQHandler(HW_SPI1); }
/*! * @brief This function is the implementation of SPI0 handler named in startup code. * * It passes the instance to the shared DSPI IRQ handler. */ void SPI0_IRQHandler(void) { DSPI_DRV_IRQHandler(HW_SPI0); }
/*! * @brief This function is the implementation of SPI2 handler named in startup code. * * It passes the instance to the shared DSPI IRQ handler. */ void SPI2_IRQHandler(void) { DSPI_DRV_IRQHandler(HW_SPI2); }