Location:
Search - c8051f020 IIC
Search list
Description: 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)
Platform: |
Size: 30014 |
Author: 梁立林 |
Hits:
Description: c8051f020 使用输入输出口模拟IIC
Platform: |
Size: 2046 |
Author: 陈黎明 |
Hits:
Description: 基于C8051F020的IIC数据传输C语言程序
Platform: |
Size: 5240 |
Author: wangchangqing |
Hits:
Description: C8051F020 / 040 等等单片机内部SMBUS总线驱动程序源代码(原创)
使用Keil C51编译环境
程序中没有使用SMBUS中断方式,使用查询中断方式运行,这样程序结构简单,便于扩展其他SMBUS设备.
本程序中带IIC器件驱动,可支持24C01 - 24C512(128字节 - 64K字节)非易失性存储器.只需要先初始化SMBUS,再初始化24Cxx器件的时候给出24Cxx的器件地址/内部地址宽度和器件写分页大小即可.
其中还带IIC总线的RFID射频卡HY502的基本驱动程序.
上述2种器件的驱动可由.H头文件配置启用或禁止.
如需要HY502或有使用中的问题请联系我(Ynking):ynpsps@sina.com
Platform: |
Size: 3991 |
Author: 杨宁 |
Hits:
Description: 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)
Platform: |
Size: 29696 |
Author: 梁立林 |
Hits:
Description: c8052的I2C子程序,比较实用可靠,我们使用的是C8051F020-c8052 I2C subroutine, more practical and reliable, we are using the C8051F020
Platform: |
Size: 3072 |
Author: liukang |
Hits:
Description: c8051f020 使用输入输出口模拟IIC-C8051F020 using input-output analog I IIC
Platform: |
Size: 2048 |
Author: 陈黎明 |
Hits:
Description: 基于C8051F020的IIC数据传输C语言程序-Based on the C8051F020 the IIC data transfer C Language Programming
Platform: |
Size: 5120 |
Author: wangchangqing |
Hits:
Description: C8051F020 / 040 等等单片机内部SMBUS总线驱动程序源代码(原创)
使用Keil C51编译环境
程序中没有使用SMBUS中断方式,使用查询中断方式运行,这样程序结构简单,便于扩展其他SMBUS设备.
本程序中带IIC器件驱动,可支持24C01 - 24C512(128字节 - 64K字节)非易失性存储器.只需要先初始化SMBUS,再初始化24Cxx器件的时候给出24Cxx的器件地址/内部地址宽度和器件写分页大小即可.
其中还带IIC总线的RFID射频卡HY502的基本驱动程序.
上述2种器件的驱动可由.H头文件配置启用或禁止.
如需要HY502或有使用中的问题请联系我(Ynking):ynpsps@sina.com-C8051F020/040 and so on Singlechip SMbus internal bus driver source code (original) The use of environmental procedures Keil C51 compiler does not use SMbus interrupt, use the query interrupted run, this program structure is simple, easy to expand to other SMbus equipment. This proceedings with IIC device driver that supports the 24C01- 24C512 (128 byte- 64K bytes) non-volatile memory. just have to initialize the SMBUS, re-initialize the device when 24Cxx given 24Cxx device address/internal address width and the device can write page size. which IIC bus with RFID basic HY502 RF card driver. the above-mentioned two kinds of device drivers may be. H header file configuration is enabled or prohibited. If you need or have use of HY502 problems please contact me (Ynking): ynpsps@sina.com
Platform: |
Size: 4096 |
Author: 杨宁 |
Hits:
Description: C8051F020 IIC时钟芯片PCF8563时间设置-C8051F020 IIC chip PCF8563 clock time settings
Platform: |
Size: 147456 |
Author: 刘庆 |
Hits:
Description: 该文档包含了基于c8051f020的各种源码,包括AD、DA,串口,定时器,IIC以及时钟键盘等,很具有学习意义-This document contains a variety of source-based c8051f020, including AD, DA, serial port, timers, IIC and clock keyboard, it is with learning the meaning
Platform: |
Size: 182272 |
Author: 杜成 |
Hits:
Description: C8051F020单片机IIC总线驱动程序,包涵所有源代码-C8051F020 MCU IIC bus driver, cover all the source code
Platform: |
Size: 477184 |
Author: 彭建 |
Hits:
Description: c8051f020系列单片机IIC功能开发例程,希望对大家有帮助-c8051f020 Series MCU IIC function development routines, we want to help
Platform: |
Size: 179200 |
Author: yangyukun |
Hits:
Description: 此为C8051F020单片机开发的各种程序合集,用KEIL环境测试通过。内含FFT单片机实现程序,可实现不同点数fft的计算;有IIC总线操作程序,可通过IIC总线对24C02芯片读写;有实现串口通信的程序,利用UART与PC通信;有实现外接LCD1602显示的程序及按键控制程序;有利用DA实现简易信号发生器的DAC程序和实现内部温度采集的ADC程序。-This rar contain several programs of C8051F020.I test them in KEIL and they can be compiled successfully.it contains FFT in SCM, IIC BUS control, UART communication with PC, LCD and key control, DAC and ADC programs.
Platform: |
Size: 37888 |
Author: yf |
Hits:
Description: 此为液晶显示的 程序,主控芯片C8051F020,包含IIC接口程序-C8051F020 IIC LCD
Platform: |
Size: 10240 |
Author: 朱孟江 |
Hits:
Description: C8051芯片的I2C总线控制程序,包含五段代码(读写EEPROM,主控读写单字节,多字节,被动读写单字节,多字节)-C8051 chip of I2C bus control procedures, including five sections code (reading and writing EEPROM, master literacy single-byte, many bytes, passive literacy single-byte, multibyte)
Platform: |
Size: 29696 |
Author: 朴实 |
Hits:
Description: C8051F单片机对IIC总线配置和数据传输-C8051F MCU on the IIC bus configuration and data transmission
Platform: |
Size: 3072 |
Author: zg |
Hits:
Description: 用c语言编写的飞控主程序 实现三轴加速度与陀螺仪的稳定控制 -fly control
Platform: |
Size: 11264 |
Author: luopeidi |
Hits:
Description: 用于单片机C8051F020的IIC通讯
包含IIC通讯初始化-For SCM C8051F020 IIC Communications
Contains the IIC communication initialization
Platform: |
Size: 289792 |
Author: Teana |
Hits:
Description: C8051F020的IIC驱动程序,AT24C01-the source of C8051F020 IIC, AT24C01
Platform: |
Size: 489472 |
Author: 牛喆 |
Hits: