abstract.txt

来自「这是单片机C51典型应用设计代码」· 文本 代码 · 共 19 行

TXT
19
字号
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 + =
减小字号Ctrl + -
显示快捷键?