??? 11/26/04 07:58 Read: times |
#81992 - suspend interrupt Responding to: ???'s previous message |
hi,
the one of reasons is that timer interrupt may come in at time when external interrupt service routine is executed. Even you load new timer value, anyway TF0 bit is still kept set. As result, after your program leaves external interrupt service routine, then timer ISR executes. Try next: inerrupt0_isr: clr tcon.4 mov th0,#new_msb mov tl0,#new_lsb clr tcon.5 ; clear TF0 setb tcon.4 reti Regards, Oleg |
Topic | Author | Date |
nesting of intr0 and timer0 | 01/01/70 00:00 | |
the whole code please | 01/01/70 00:00 | |
INT0 nature and Priority? | 01/01/70 00:00 | |
re nesting of interrupts | 01/01/70 00:00 | |
edge triggered | 01/01/70 00:00 | |
What application is it details please? | 01/01/70 00:00 | |
nesting of intr0 and timer0 not solved | 01/01/70 00:00 | |
Problems with your code. | 01/01/70 00:00 | |
not solved nested interrupts | 01/01/70 00:00 | |
suspend interrupt | 01/01/70 00:00 | |
resistance welding | 01/01/70 00:00 | |
Location please? | 01/01/70 00:00 | |
hi | 01/01/70 00:00 | |
let me out nesting of intr0 and timer0 | 01/01/70 00:00 | |
Demanding sort huh? | 01/01/70 00:00 | |
Demanding ??? | 01/01/70 00:00 | |
Re: let me out nesting of intr0 and tim![]() | 01/01/70 00:00 |