首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > 软件的实时时钟和日历使用PIC16F1827

软件的实时时钟和日历使用PIC16F1827

资料介绍
INTRODUCTION
This application note describes the implementation of
software Real-Time Clock and Calendar (RTCC). The
implementation can be used either separately,
replacing one of the hardware RTCC devices on the
market, or as part of an application. In the latter
example, there is no need for the I
2
C™ communication
channel.
The implementation provides the time (seconds,
minutes, and hour), date (day, month, and year), day of
week, and one alarm. The user can customize the
firmware according to his/her own needs.
AN1303
Software Real-Time Clock and Calendar Using PIC16F1827

Author: Cristian Toma DATA INTERFACE
Microchip Technology Inc. The Real-Time Clock and Calendar communicates with
the host system via a two-wire I2C bus as a slave
device. A set of I2C commands and RTCC registers are
INTRODUCTION implemented to allow the host to read and write time
This application note describes the implementation of and date information. All registers are read and
软件的实时时钟和日历使用PIC16F1827
本地下载

评论