| |||||
Technical Support Support Resources
Product Information | 8051 Timer 0 Mode 1 Example ProgramThis example program shows how to configure timer/counter 0 as a 16-bit timer. An interrupt service routine (ISR) is invoked each time the timer overflows (goes from 0xFFFF to 0x0000). In the ISR, the overflow_count variable increments. To test this program...
Each time the interrupt routine is invoked, the debugger stops running the program. Position the cursor over the overflow_count variable to view its current value. 8051_TIMER0.ZIP (8.7K) Sunday, November 26, 2000 | ||||
| |||||