At 19:15 31-05-05 +0200, you wrote: > Are _any_ interrupts serviced during isr, when isr is of type >"enablenested ? the mspgcc-manual says (erratically?): "“enablenested” >causes an interrupt enable instruction to be inserted before the function >prologue. This allows other _higher_ priority interrupts to be serviced >while handling the current one." I'd like my USARt isr be able to interrupt >my timerB isr occasionally.
When an interrupt routine (ISR) is entered, the interrupts are disabled. If you enable the interrupts within the interrupt routine, other interrupts can occur while processing the interrupt. You should be carefull when doing this. The stack may overflow because each interrupt service routine will dump the registers on the stack. You should read how the MSP430 protects against executing an ISR multiple times for the same interrupt event to understant this feature. Nico Coesel