| ??? 04/12/01 13:52 Read: times |
#10755 - RE: Timer Interrupt |
If one - or more interrupts happened, you will get one interrupt; however the problem will be that the time you react to the interrupt will be wrong as the time to execute the 'undisturbed' instructions will be added in your calculation and thus the pulse count will be wrong also, if you use automatic reload, the next measurement will be wrong. Find a way to reduce/eliminate the code that must be protected from interrupts. Btw it it very bad practice to set and reset IE bits as you do, Push IE, clear the bit and when you are done pop IE. |
| Topic | Author | Date |
| Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
| RE: Timer Interrupt | 01/01/70 00:00 | |
RE: Timer Interrupt | 01/01/70 00:00 |



