In considering some MultiTasking ideas, mainly Flash writing; you said to turn off interrupts.
Does INTERRUPT(0) turn off the SUB INTERRUPT(s) that I create?? .. and then back on with (1)??
Thanks
GaryZ
INTERRUPT(0)
Re: INTERRUPT(0)
The multitask timer should be switched off (I think there is an example of that in the original).
INTERRUPT(0) turns of all interrupts controlled by the I bit in the CPSR of the ARM, and the systick interrupt
So that would be a sledge hammer way to do it. I have no idea whether the ROM routine we call (written by NXP) uses interrupts, but I kind of doubt it
INTERRUPT(0) turns of all interrupts controlled by the I bit in the CPSR of the ARM, and the systick interrupt
So that would be a sledge hammer way to do it. I have no idea whether the ROM routine we call (written by NXP) uses interrupts, but I kind of doubt it