文件名称:PCF8563-clock-chip---C-program-.RAR
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-06-05
- 文件大小:
- 226kb
- 下载次数:
- 0次
- 提 供 者:
- 张**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
PCF8563时钟芯片就用程序C:
本程序包含:PCF8563.C和PCF8563.h及PCF8563电路图片三个文件IIC用的是软件模拟IIC
程序已调好,所有功能正常,主要函数有:
void iic_start(void)
void iic_stop(void)
void Master_ACK(void)
void Master_NOACK(void)
void check_ACK(void)
void IICSendByte(unsigned char ch)
unsigned char IICreceiveByte(void)
void write_CFGbyte(unsigned char CFG_add,unsigned char CFG_data)
unsigned char receive_CFGbyte(unsigned char idata CFG_add)
void receive_CFGNbyte(unsigned char CFG_add, unsigned char n,unsigned char * buff)
void P8563_Readtime()
void P8563_settime()
void P8563_init()
移植好程序后,只要用到:--基于51平台,
void P8563_Readtime()
void P8563_init()
两个程序就可以。
如果是使用硬件IIC,只要修改(有些可以不要了):
void iic_start(void)
void iic_stop(void)
void Master_ACK(void)
void Master_NOACK(void)
void check_ACK(void)
-PCF8563 clock chip on the application C:
The program includes : PCF8563.C and PCF8563.h and PCF8563 circuit picture with the three documents software simulation IIC IIC
Procedures have been fine, all functioning properly , the main functions are:
void iic_start (void)
void iic_stop (void)
void Master_ACK (void)
void Master_NOACK (void)
void check_ACK (void)
void IICSendByte (unsigned char ch)
unsigned char IICreceiveByte (void)
void write_CFGbyte (unsigned char CFG_add, unsigned char CFG_data)
unsigned char receive_CFGbyte (unsigned char idata CFG_add)
void receive_CFGNbyte (unsigned char CFG_add, unsigned char n, unsigned char* buff)
void P8563_Readtime ()
void P8563_settime ()
void P8563_init ()
After transplantation good program, just use :- Based on 51 platforms
void P8563_Readtime ()
void P8563_init ()
Both programs can be.
If you are using hardware IIC, as long as the modifications ( some can do a ) :
void iic_start (void)
void iic_stop (
本程序包含:PCF8563.C和PCF8563.h及PCF8563电路图片三个文件IIC用的是软件模拟IIC
程序已调好,所有功能正常,主要函数有:
void iic_start(void)
void iic_stop(void)
void Master_ACK(void)
void Master_NOACK(void)
void check_ACK(void)
void IICSendByte(unsigned char ch)
unsigned char IICreceiveByte(void)
void write_CFGbyte(unsigned char CFG_add,unsigned char CFG_data)
unsigned char receive_CFGbyte(unsigned char idata CFG_add)
void receive_CFGNbyte(unsigned char CFG_add, unsigned char n,unsigned char * buff)
void P8563_Readtime()
void P8563_settime()
void P8563_init()
移植好程序后,只要用到:--基于51平台,
void P8563_Readtime()
void P8563_init()
两个程序就可以。
如果是使用硬件IIC,只要修改(有些可以不要了):
void iic_start(void)
void iic_stop(void)
void Master_ACK(void)
void Master_NOACK(void)
void check_ACK(void)
-PCF8563 clock chip on the application C:
The program includes : PCF8563.C and PCF8563.h and PCF8563 circuit picture with the three documents software simulation IIC IIC
Procedures have been fine, all functioning properly , the main functions are:
void iic_start (void)
void iic_stop (void)
void Master_ACK (void)
void Master_NOACK (void)
void check_ACK (void)
void IICSendByte (unsigned char ch)
unsigned char IICreceiveByte (void)
void write_CFGbyte (unsigned char CFG_add, unsigned char CFG_data)
unsigned char receive_CFGbyte (unsigned char idata CFG_add)
void receive_CFGNbyte (unsigned char CFG_add, unsigned char n, unsigned char* buff)
void P8563_Readtime ()
void P8563_settime ()
void P8563_init ()
After transplantation good program, just use :- Based on 51 platforms
void P8563_Readtime ()
void P8563_init ()
Both programs can be.
If you are using hardware IIC, as long as the modifications ( some can do a ) :
void iic_start (void)
void iic_stop (
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PCF8563时钟芯片就用程序C\PCF8563.C
........................\PCF8563.h
........................\PCF8563应用电路图.jpg
........................\说明.TXT
PCF8563时钟芯片就用程序C