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

📄 abstract.txt

📁 PHILIPS LPC76X Timer 实例程序
💻 TXT
字号:
This example program demonstrates how to use the on-chip Timers
of the Philips LPC767/768/769 Devices.  The program configures timer 0 as
a tick timer and timer 1 as an auto reload baud rate generator.

1. Build the program (Project-Build Target)
2. Start the Debugger (Debug-Start/Stop Debug Session)
3. Open the Timers Dialog Box (Peripherals -> Timer)
4. Open both Timer 0 and Timer 1 dialog box
5. Open the Serial Window (View-Serial Window #1)
6. Run the program while viewing the Serial Window and Timers.
7. Select View -> Periodic Update to view timer operation while running.

Main.c is a pseudo-round robin co-operative scheduler calling funct0()
and funct1(). funct0 continuously delays and exits for 1 second and then
calls printf(). funct1 delays and exits for four seconds and then calls printf().

See Keil Software application note APNT-105 for more information and
80C51 timer examples. 

⌨️ 快捷键说明

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