文件名称:DS1302
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- jpg****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
DS1302读写一体化C51源程序
以下引脚定义部分根据实际接线情况作适当调整
sbit TIMECLK = P1^0
sbit TIMERST = P1^1 //禁止DS1302
sbit TIMEIO = P1^2 //释放数据总线-C51 source integration DS1302 to read and write the following definition of part-pin wiring in accordance with the actual situations properly adjust sbit TIMECLK = P1 ^ 0 sbit TIMERST = P1 ^ 1// prohibited DS1302sbit TIMEIO = P1 ^ 2// release data bus
以下引脚定义部分根据实际接线情况作适当调整
sbit TIMECLK = P1^0
sbit TIMERST = P1^1 //禁止DS1302
sbit TIMEIO = P1^2 //释放数据总线-C51 source integration DS1302 to read and write the following definition of part-pin wiring in accordance with the actual situations properly adjust sbit TIMECLK = P1 ^ 0 sbit TIMERST = P1 ^ 1// prohibited DS1302sbit TIMEIO = P1 ^ 2// release data bus
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DS1302.c