readme.txt
来自「这是单片机C51典型应用设计代码」· 文本 代码 · 共 11 行
TXT
11 行
8051 Timer 0 Mode 1 Example Program
This 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...
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 running the program. Position the cursor over the overflow_count variable to view its current value.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?