代码搜索:I2C
找到约 10,000 项符合「I2C」的源代码
代码结果 10,000
www.eeworm.com/read/408763/7806446
h spisubs.h
#include
#define SLAVE_ADDRESS (0xA0 >> 1) // I2C module compares bit of I2CADD with bit of I2C Command Byte
#define SPI_EE_READ 0x03
#define SPI_EE_WRITE 0
www.eeworm.com/read/322144/13388527
c i2c1.c
#include
#include
#define _Nop() _nop_()
#define uchar unsigned char
//*端口位定义*/
sbit SDA=P1^3; //*模拟I2C数据传送位*/
sbit SCL=P1^2; //*模拟I2C时钟控制位*/
bi
www.eeworm.com/read/312626/13607440
cpp i2c.cpp
#include "precomp.h"
#include "I2C.h"
void I2C::InitializeGPIO()
{
//config GPIO as I2C port:
s2410IOP->rGPECON &= 0x0FFFFFFF;
s2410IOP->rGPECON |= 0xA0000000;
s2410IOP->rGPEUP |= 0xC000;
www.eeworm.com/read/494609/6378337
asm i2c_wr.asm
*************************************************
*FILE: I2C_WR.ASM
*日期:2005年11月25日*
*************************************************
* I2C_R 是I2C读数据程序
* I2C_W 是I2C写数据程序
* I2C_W_INT 写初始化
*
www.eeworm.com/read/155822/11845115
rpt i2c_write.rpt
Project Information e:\电路系统设计\第11讲-i2c讲稿\i2c\i2c_write.rpt
MAX+plus II Compiler Report File
Version 9.5 2/8/2000
Compiled: 05/12/2003 16:42:56
Copyright (C) 1988-2000 Altera Corporat
www.eeworm.com/read/155822/11845214
rpt i2c_core.rpt
Project Information e:\电路系统设计\第11讲-i2c讲稿\i2c\i2c_core.rpt
MAX+plus II Compiler Report File
Version 9.5 2/8/2000
Compiled: 05/12/2003 15:57:08
Copyright (C) 1988-2000 Altera Corporat
www.eeworm.com/read/337181/12386290
c at24c01.c
#include
#include
#include
#include "un.h"
#include "delay.h"
#include "i2c.h"
void start(void); //声明启动I2C函数
void stop(void); //声明停止I2C函数
void ack(v
www.eeworm.com/read/221688/14729637
asm i2c_wr.asm
*************************************************
*FILE: I2C_WR.ASM
*日期:2005年11月25日*
*************************************************
* I2C_R 是I2C读数据程序
* I2C_W 是I2C写数据程序
* I2C_W_INT 写初始化
*
www.eeworm.com/read/14862/425090
asm i2c_wr.asm
*************************************************
*FILE: I2C_WR.ASM
*日期:2005年11月25日*
*************************************************
* I2C_R 是I2C读数据程序
* I2C_W 是I2C写数据程序
* I2C_W_INT 写初始化
*
www.eeworm.com/read/26219/955852
c 伪定义.c
#include
#define uchar unsigned char
#define uint unsigned int
#define bool bit
#define true 1
#define false 0
sbit SCK =P3^4;//I2C时钟信号
sbit SAL =P3^5;// I2C数据线
sbit LED_SCK