代码搜索:I2C
找到约 10,000 项符合「I2C」的源代码
代码结果 10,000
www.eeworm.com/read/202534/15379246
c fet140_i2c_17.c
//******************************************************************************
// MSP-FET430P140 Demo - I2C, Slave Reads/Writes with Master, Rptd Start
//
// Description: This example shows the
www.eeworm.com/read/202534/15379274
c fet140_i2c_16.c
//******************************************************************************
// MSP-FET430P140 Demo - I2C, Master Writes/Reads with Slave, Rptd Start
//
// Description: This example shows the
www.eeworm.com/read/288717/8612562
asm i2c_wr.asm
*************************************************
*FILE: I2C_WR.ASM
*日期:2005年11月25日*
*************************************************
* I2C_R 是I2C读数据程序
* I2C_W 是I2C写数据程序
* I2C_W_INT 写初始化
*
www.eeworm.com/read/429451/8808022
h hardi2c.h
// 定义I2C总线管脚名称
#define I2C_SCL GPIO_PIN_2 /* SCL = PB2 */
#define I2C_SDA GPIO_PIN_3 /* SDA = PB3 */
// 定义I2C工作状态
#define STAT_IDLE 0 /* 空闲状态
www.eeworm.com/read/181870/9233476
s wreeprom.s
;******************************************************************************
; 文件名:WREEPROM.S
; 功能:使用硬件I2C对CSI24WC02进行读写操作。若操作失败,则进行报警。
; 使用查询方式操作I2C。
; 说明:将跳线器JP9、J4_LED4短接。
;**********
www.eeworm.com/read/456702/7340542
s wreeprom.s
/******************************************************************************
* 文件名:WREEPROM.S
* 功能:使用硬件I2C对CSI24WC02进行读写操作。若操作失败,则进行报警。
* 使用查询方式操作I2C。
* 说明:将跳线器JP9、J4_LED4短接。
***********
www.eeworm.com/read/449818/7496185
hpl m8571s.hpl
; Orange programmer module v3.0
; (c) 2002 Alex Plusov
; CHIP=M8571 (128x8) I2C/S-BUS
; S-BUS mode
; Orange2 only!
; Tested - ok
SOCKET=1 ;"I2C"
PINO=SCL,0
PINO=SDA,1
PINO=MS, 2
PIN
www.eeworm.com/read/440183/7693280
c zfctr.c
#include
sbit sda = P2^0; // The state of SDA line of I2C bus
sbit scl = P2^1; // The state of SCL line of I2C bus
sbit RST1_N = P2^2; // Pull this bit low to reset TVP5145
sbi
www.eeworm.com/read/408763/7806403
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/408763/7806424
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