/*! * @brief This function is the implementation of SPI0 handler named in startup code. * * It passes the instance to the shared SPI DMA IRQ handler. */ void SPI0_SPI1_IRQHandler(void) { if (CLOCK_SYS_GetSpiGateCmd(0)) { SPI_DRV_IRQHandler(SPI0_IDX); } if (CLOCK_SYS_GetSpiGateCmd(1)) { SPI_DRV_IRQHandler(SPI0_IDX); } }
/*! * @brief This function is the implementation of SPI1 handler named in startup code. * * It passes the instance to the shared SPI IRQ handler. */ void SPI1_IRQHandler(void) { SPI_DRV_IRQHandler(SPI1_IDX); }