⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstract.txt

📁 8051 TIMER programming
💻 TXT
字号:
Timer 0 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).  Inside
the ISR, a variable called overflow_count is incremented by one.

To test this program...

1. Start the debugger.
2. Set a breakpoint on the 'overflow_count++' line in the ISR.
3. Run the program.

Each time the interrupt routine is invoked, the debugger will stop
running the program.  Position the cursor over 'overflow_count' to
see its current value.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -