/** * \brief Wait for transfer to finish calling the SPI driver ISR. (interrupts are disabled) * * \param pAt25 Pointer to an AT25 driver instance. */ static void AT25D_Wait(At25 *pAt25) { /* Wait for transfer to finish */ while (AT25_IsBusy(pAt25)) { } }
/** * \brief Wait for transfer to finish calling the SPI driver ISR. (interrupts are disabled) * * \param pAt25 Pointer to an AT25 driver instance. */ static void AT25D_Wait(At25 *pAt25) { /* Wait for transfer to finish */ while (AT25_IsBusy(pAt25)) SPID_Handler(pAt25->pSpid); }