??? 06/04/10 01:17 Read: times |
#176369 - Yes... Responding to: ???'s previous message |
David said:
Through some experimentation with a SiLabs C8051F340 and the USB debugger, I was able to disable EA, manually set an interrupt flag for timer0, and when EA was re-enabled, the MCU serviced the timer0 ISR. Is this standard 8051 behavior or most likely MCU specific? Yes, this should be standard behaviour. Otherwise you couldn't receive and send bytes with the UART or detect other interrupt producing events, while being in a interrupt service routine and having the EA bit disabled. All interrupt producing events would be lost during the time being in an interrupt service routine of another interrupt. By this you can finsih an interrupt service routine uninterruptedly without missing other interrupts. Kai Klaas |
Topic | Author | Date |
Interrupt Hardware checked on SETB EA? | 01/01/70 00:00 | |
Yes... | 01/01/70 00:00 | |
the way to see it | 01/01/70 00:00 | |
so exactly when does the hardware check the interrupt regs | 01/01/70 00:00 | |
VERY derivative dependent | 01/01/70 00:00 | |
Datasheet should tell you | 01/01/70 00:00 | |
ports? machine cycle? | 01/01/70 00:00 | |
Still the datasheet will say.![]() | 01/01/70 00:00 |