Q: Can interrupts be serviced while programming or erasing flash?
What happens if the device receives a data word via a communications interface, for example SPI? Will the data word be fetched in the SPIRXBUF? What about the Interrupt? Will the interrupt flag bit set and the ISR called after the Flash_Erase function?