??? 12/29/04 10:11 Read: times |
#84029 - So you have to read the 8052 Bible! Responding to: ???'s previous message |
As I understand, the time between two INT0 interrupts is 4us.
And your function FUNC01 will need 16us. If the INT0 is configured properly it WILL happen at 4us irrespective of whether your FUNC01 is 16us or 1600us. The FUNC01 has to wait for the interrupt to finish and not the other way about. So what will actually happen is this : Your FUNC01 will be interrupted 3 times and it will complete in 16+(3x4)= 28us. This is assuming that your ISR is over within 4us. Is that OK with you ? I suggest you spend lots of time here : http://www.8052.com/tutint.phtml Raghu |
Topic | Author | Date |
Question about interrupt in 8051 | 01/01/70 00:00 | |
So you have to read the 8052 Bible! | 01/01/70 00:00 | |
the links Raghu did not include | 01/01/70 00:00 | |
You need to use a counter![]() | 01/01/70 00:00 |