📄 readme.txt
字号:
8051 Timer 1 Mode 2 Example Program
This example program shows how to configure timer/counter 1 as an 8-bit timer. An interrupt service routine (ISR) is invoked each time the timer overflows (goes from 0xFF to 0x00). Inside the ISR, the overflow_count variable increments.
To test this program...
Start the debugger.
Set a breakpoint on the overflow_count++ line in the ISR.
Run the program.
Each time the interrupt routine is invoked, the debugger stops the program. Position the cursor over the overflow_count variable to view its current value.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -