文件名称:c8051f020_8563
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:29.31kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
c8051f020 实时时钟模块程序 内含IIC模块程序/********************** SYSTEM CLOCK 8M********************************/
extern unsigned char xdata currenttime[16]={0}
extern unsigned char xdata settime[16]={
0x00, // control regesiter 1
0x00, // control regesiter 2
0x01, //current second
0x19, //current minute
0x20, //current hour
0x29, //current data
0x04, //current week
0x07, //current month
0x05, //current year
0x00, // alarm value reset
0x00, // alarm value reset
0x00, // alarm value reset
0x00, // alarm value reset
0x00, // clk out disable
0x00, // close timer
0x00,
}
/*********************************************************************/
extern void Current_Time ( void )
extern void Set_Time ( void ) -C8051f020 real-time clock module containing procedures IIC module procedures /********* * * * SYSTEM CLOCK 8M ************** ******************/ extern unsigned char OS ta currenttime [16] = (0) extern unsigned char x settime data [16] = (0x00, / / control regesiter an 0x00, / / control regesiter two 0x01, / / current second 0x19, / / current minute 0x20, / / 0x29 current hour. / / current data 0x04, / / current week hex 07. / / current month 0x05, / / 0x00 current year. / / reset alarm value 0x00, / / reset alarm value 0x00, / / reset alarm value 0x00, / / reset alarm value 0x00, / / clk out disable 0x00, / / close timer 0x00, /**************************************) *******************************/ extern gift id Current_Time (void) extern void Set_Time (v oid)
extern unsigned char xdata currenttime[16]={0}
extern unsigned char xdata settime[16]={
0x00, // control regesiter 1
0x00, // control regesiter 2
0x01, //current second
0x19, //current minute
0x20, //current hour
0x29, //current data
0x04, //current week
0x07, //current month
0x05, //current year
0x00, // alarm value reset
0x00, // alarm value reset
0x00, // alarm value reset
0x00, // alarm value reset
0x00, // clk out disable
0x00, // close timer
0x00,
}
/*********************************************************************/
extern void Current_Time ( void )
extern void Set_Time ( void ) -C8051f020 real-time clock module containing procedures IIC module procedures /********* * * * SYSTEM CLOCK 8M ************** ******************/ extern unsigned char OS ta currenttime [16] = (0) extern unsigned char x settime data [16] = (0x00, / / control regesiter an 0x00, / / control regesiter two 0x01, / / current second 0x19, / / current minute 0x20, / / 0x29 current hour. / / current data 0x04, / / current week hex 07. / / current month 0x05, / / 0x00 current year. / / reset alarm value 0x00, / / reset alarm value 0x00, / / reset alarm value 0x00, / / reset alarm value 0x00, / / clk out disable 0x00, / / close timer 0x00, /**************************************) *******************************/ extern gift id Current_Time (void) extern void Set_Time (v oid)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pcf8563/config.h
pcf8563/IIC.C
pcf8563/IIC.h
pcf8563/IIC.LST
pcf8563/IIC.OBJ
pcf8563/IIC.__i
pcf8563/keyled.h
pcf8563/pcf8563
pcf8563/pcf8563.M51
pcf8563/pcf8563.Opt
pcf8563/pcf8563.plg
pcf8563/pcf8563_Uv2.Bak
pcf8563/RealTimeClk
pcf8563/RealTimeClk.h
pcf8563/RealTimeClk.M51
pcf8563/RealTimeClk.Opt
pcf8563/RealTimeClk.plg
pcf8563/RealTimeClk.Uv2
pcf8563/RealTimeClk_Opt.Bak
pcf8563/RealTimeClk_Uv2.Bak
pcf8563/RTLCLK.C
pcf8563/RTLCLK.H
pcf8563/RTLCLK.LST
pcf8563/RTLCLK.OBJ
pcf8563/RTLCLK.__i
pcf8563/testkeyled.c
pcf8563/testkeyled.LST
pcf8563/testkeyled.OBJ
pcf8563
www.dssz.com.txt
pcf8563/IIC.C
pcf8563/IIC.h
pcf8563/IIC.LST
pcf8563/IIC.OBJ
pcf8563/IIC.__i
pcf8563/keyled.h
pcf8563/pcf8563
pcf8563/pcf8563.M51
pcf8563/pcf8563.Opt
pcf8563/pcf8563.plg
pcf8563/pcf8563_Uv2.Bak
pcf8563/RealTimeClk
pcf8563/RealTimeClk.h
pcf8563/RealTimeClk.M51
pcf8563/RealTimeClk.Opt
pcf8563/RealTimeClk.plg
pcf8563/RealTimeClk.Uv2
pcf8563/RealTimeClk_Opt.Bak
pcf8563/RealTimeClk_Uv2.Bak
pcf8563/RTLCLK.C
pcf8563/RTLCLK.H
pcf8563/RTLCLK.LST
pcf8563/RTLCLK.OBJ
pcf8563/RTLCLK.__i
pcf8563/testkeyled.c
pcf8563/testkeyled.LST
pcf8563/testkeyled.OBJ
pcf8563
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.