摘要
介绍了XICOR公司实时时钟器件X1226的工作原理,给出了X1226与单片机89C51的硬件设计和软件编程方法,并给出了接口电路和用C51语言编写的源程序。
This paper introduced the principle of real time clock X1226 and the design of interface with 89C51. The interface circuit and main programs with C51 language is also given in this paper.
出处
《常熟理工学院学报》
2005年第4期77-81,共5页
Journal of Changshu Institute of Technology
关键词
实时时钟
12C接口
单片机
real time clock
I2C interface
rnicrocontroller