文件名称:DS1302
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 18kb
- 下载次数:
- 0次
- 提 供 者:
- w*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
时钟程序,大家是否想到用定时器,对,也可用定时器的中断来处理,这样的程序我想不用我说了吧!
你们可自己发辉下,本程序采用外元件DS1302时钟IC,使用此IC不增加系统资源,要时钟时直接去读取就可以了
本IC跟ADC0831一样以串口方式传送数据,不同的是协议,只要你读懂它的串口协议,就可以用P口来模拟协议进行
,这样更能使你对传送数据协议的了解,在看本程序之前,先看看芯片的串口协议
-Clock process, whether you think using the timer, right, can also be used to handle the timer interrupt, so that the procedures I do not think so I said it! Fa-Hui you can own, this program outside the components using DS1302 clock IC, the IC not to increase the use of system resources, it is necessary to read the clock directly to the IC will be the same as with the ADC0831 to serial transmission of data, difference is that the agreement , as long as you read its serial protocol, it can be used to simulate P agreement mouth, so that you can send more data to understand the agreement, in view of the process, take a look at the serial port chip agreement
你们可自己发辉下,本程序采用外元件DS1302时钟IC,使用此IC不增加系统资源,要时钟时直接去读取就可以了
本IC跟ADC0831一样以串口方式传送数据,不同的是协议,只要你读懂它的串口协议,就可以用P口来模拟协议进行
,这样更能使你对传送数据协议的了解,在看本程序之前,先看看芯片的串口协议
-Clock process, whether you think using the timer, right, can also be used to handle the timer interrupt, so that the procedures I do not think so I said it! Fa-Hui you can own, this program outside the components using DS1302 clock IC, the IC not to increase the use of system resources, it is necessary to read the clock directly to the IC will be the same as with the ADC0831 to serial transmission of data, difference is that the agreement , as long as you read its serial protocol, it can be used to simulate P agreement mouth, so that you can send more data to understand the agreement, in view of the process, take a look at the serial port chip agreement
(系统自动生成,下载前可以参看下载内容)
下载文件列表
13-时钟程序DS1302
.................\DS1302.c
.................\DS1302.LST
.................\DS1302.OBJ
.................\txl
.................\txl.hex
.................\txl.lnp
.................\txl.M51
.................\txl.Opt
.................\txl.plg
.................\txl.Uv2
.................\txl_Opt.Bak
.................\txl_Uv2.Bak
.................\DS1302.c
.................\DS1302.LST
.................\DS1302.OBJ
.................\txl
.................\txl.hex
.................\txl.lnp
.................\txl.M51
.................\txl.Opt
.................\txl.plg
.................\txl.Uv2
.................\txl_Opt.Bak
.................\txl_Uv2.Bak