I'm doing some writing to the Flash and to ensure there aren't interrupt caused issues I'm disabling interrupts during the writes (using _int_disable(); followed at the end of the writes by _int_enable().
Is there any limit to how long interrupts can be disabled? Are there any components that I should be aware of? Along with the standard MCF52223 BSP, I'm also using USB.
I'm asking because the number of writes is dynamic and, if required I can re-enable interrupts to have them serviced and then go back to the writes.