2004-02-24 12:53 AM
2004-02-19 09:41 PM
Hi everybody,
(why) is it absolutely safe to set xxxIR=1 ? (e.g. CC9IR=1) This is the interrupt request bit, which may be set by hardware also. What if I and the hardware set it simaultaneously? If it is guaranteed that 2 separate interrupts (isr-routine-call) will happen: then, in what order? (priority, arbitration)2004-02-23 01:28 AM
2004-02-24 12:53 AM
If you set xxxIR by software and an interrupt occurs at the same time there is a chance to miss one of the two interrupts.
This will happen if the two set operations (the hardware and the software) are done before the actual clearing of the flag while servicing the interrupt. The probability of occurrence of the case 'one interrupt is missing' will increase if there is higher priority interrupts running as they may delay the clearing of the flag.