??? 12/07/09 13:50 Read: times |
#171503 - "I do not have any timer interrupts left." Responding to: ???'s previous message |
"I do not have any timer interrupts left."
The way we dealt with this was to have the timer interrupt decrement counters, and the main loop would watch the counters and launch the appropriate function when its counter reached 00. We also used -1 (0xFF or 0xFFFF) as an idle state -- if the counter value was -1, it was not decremented. --Rich |
Topic | Author | Date |
one key, multiple jobs assigned to it | 01/01/70 00:00 | |
Step by step | 01/01/70 00:00 | |
What methods do you have for keeping track of time now? | 01/01/70 00:00 | |
Timing in Siemens ;)? | 01/01/70 00:00 | |
RC circuit | 01/01/70 00:00 | |
Yep, touché!... | 01/01/70 00:00 | |
Another idea... | 01/01/70 00:00 | |
State machine | 01/01/70 00:00 | |
State Transition Diagram | 01/01/70 00:00 | |
Timers can help!! | 01/01/70 00:00 | |
In theory, zero timers are needed | 01/01/70 00:00 | |
"I do not have any timer interrupts left." | 01/01/70 00:00 | |
Software timers | 01/01/70 00:00 | |
To check debounce | 01/01/70 00:00 | |
what happens when![]() | 01/01/70 00:00 |