摘要
DS14285是一款8位并行方式的时钟芯片,芯片采用地址/数据总线复用方式实现引脚的高效性.除了可向用户提供时间和闹钟功能外,它还具有自动后备电源功能和114字节的用户RAM,可以使时间和用户信息在系统掉电时不丢失.它还提供3种可以通过软件进行屏蔽和测试的中断:周期中断、闹钟中断和更新结束中断.通过对4个功能寄存器的操作可以设置和判断其运行状态.本文利用DS14285与单片机构成定时控制系统,并给出了硬件结构和软件实现方案.
DS14285 is a parallel RTC chip of 8 bits. The chip adopts the multiplexed address/data bus to realize the efficiency of the pin. Besides its ability to offer time and alarm clock function to users, it also has automatic backup supply function and user RAM of 114 bytes so that the time and user's information cannot be lost during power failures. It offers three interruptions. They are separately software-maskable and testable, including the periodic interrupt, the alarm interrupt and the update-ended interrupt. The user can setup and distinguish operation states through operation of four control registers. A timing control system based on DS14285 and SCM was used, and the hardware structure and software scheme were given.
出处
《西安文理学院学报(自然科学版)》
2007年第2期92-96,共5页
Journal of Xi’an University(Natural Science Edition)