文件名称:51timer-and-counter
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-11-22
- 文件大小:
- 76kb
- 下载次数:
- 0次
- 提 供 者:
- F**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.定时器的基本驱动示例,定时器工作于方式1,下载程序后,隔三秒钟,第一个发光二极管被点亮;2.本程序提供一些常用定时器计时的具体参数。用的是定时器0工作于方式1。且只针对11.0592MHz的晶振。3.本程序为计数器的基本驱动示例,计数器工作于方式1。对按键S2按下的次数进行计数,当计数记到3时,第一个发光二极管被点亮。4“滴滴”声的产生5. 59秒计时器(利用定时器延时,查询法)6. 59秒计时器(利用定时器延时,中断法)7 59秒计时器(利用软件延时)-1 Timer basic drive example, the timer is operating in Mode 1 After downloading the program, every three seconds, the first light-emitting diode is lit (2) The program provides some common timer has specific parameters. Using Timer 0 in Mode 1. And only for 11.0592MHz crystal. (3) The procedure for the fundamental drivers of counter example, the counter is operating in Mode 1. Pressing the button S2 count the number, when the count remember to 3, the first light emitting diode is lit. 4 " bit" sound produced 5.59 seconds timer (using the timer delay, the query method) 6.59 seconds timer (using the timer delay, interruption France) 759-second timer (using the software delay )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
51定时器计数器\1定时器定时\timer
..............\...........\timer.c
..............\...........\timer.hex
..............\...........\timer.lnp
..............\...........\timer.LST
..............\...........\timer.M51
..............\...........\timer.OBJ
..............\...........\timer.Opt
..............\...........\timer.plg
..............\...........\timer.Uv2
..............\...........\timer_Opt.Bak
..............\...........\timer_Uv2.Bak
..............\3计数器计数\counter
..............\...........\counter.c
..............\...........\counter.hex
..............\...........\counter.lnp
..............\...........\counter.LST
..............\...........\counter.M51
..............\...........\counter.OBJ
..............\...........\counter.Opt
..............\...........\counter.plg
..............\...........\counter.Uv2
..............\...........\counter_Opt.Bak
..............\...........\counter_Uv2.Bak
..............\4“滴滴”声的产生\2定时器定时常用参数(参考)\canshu
..............\.................\.........................\canshu.c
..............\.................\.........................\canshu.hex
..............\.................\.........................\canshu.lnp
..............\.................\.........................\canshu.LST
..............\.................\.........................\canshu.M51
..............\.................\.........................\canshu.OBJ
..............\.................\.........................\canshu.Opt
..............\.................\.........................\canshu.plg
..............\.................\.........................\canshu.Uv2
..............\.................\.........................\canshu_Opt.Bak
..............\.................\.........................\canshu_Uv2.Bak
..............\.................\didi
..............\.................\didi.c
..............\.................\didi.hex
..............\.................\didi.lnp
..............\.................\didi.LST
..............\.................\didi.M51
..............\.................\didi.OBJ
..............\.................\didi.Opt
..............\.................\didi.plg
..............\.................\didi.Uv2
..............\.................\didi_Opt.Bak
..............\.................\didi_Uv2.Bak
..............\5. 59秒计时器(利用定时器延时,查询法)\59
..............\.......................................\59.c
..............\.......................................\59.hex
..............\.......................................\59.lnp
..............\.......................................\59.LST
..............\.......................................\59.M51
..............\.......................................\59.OBJ
..............\.......................................\59.Opt
..............\.......................................\59.plg
..............\.......................................\59.Uv2
..............\.......................................\59_Opt.Bak
..............\.......................................\59_Uv2.Bak
..............\6. 59秒计时器(利用定时器延时,中断法)\59
..............\.......................................\59.c
..............\.......................................\59.hex
..............\.......................................\59.lnp
..............\.......................................\59.LST
..............\.......................................\59.M51
..............\.......................................\59.OBJ
..............\.......................................\59.Opt
..............\.......................................\59.plg
..............\.......................................\59.Uv2
..............\.......................................\59_Opt.Bak
..............\.......................................\59_Uv2.Bak
..............\7 59秒计时器(利用软件延时)\59
..............\..............................\59.c
..............\..............................\59.hex
..............\..............................\59.lnp
..............\..............................\59.LST
..............\..............................\59.M51
..............\.........