代码搜索结果
找到约 10,000 项符合
I2C 的代码
i2c程序(c语言).txt
/*VIICC.H*/
#pragma db cd small
#include
#include
#define NOP nop ( ); nop ( ); nop ( ); nop ( )
#define SDA P1^7
#define SCL P1^6
void sta( );
void cack( );
void stop
i2c读写eeprom程序.c
I2C读写EEPROM程序
[ 2007-5-23 9:34:00 | By: ly_zw ]
#i nclude
#i nclude
#define uchar unsigned char
#define uint unsigned int
sbit SDA=P0^4;
sbit SCL=P0^5;
sbit P0_0=P0^0
主i2c的代码.txt
调用的代码
case C_READ+C_I2C:
return_buf[2] = comm_buf[4]; //
read(comm_buf[3],comm_buf[4],&return_buf[3]);
break;
i2c user program.txt
// ****************************************************************//
//------------- 虚拟 i2c软件包头文件 iic.h -----------------------//
//***************************************************************