代码搜索结果
找到约 10,000 项符合
I2C 的代码
fet140_i2c_01.c
//******************************************************************************
// MSP-FET430P140 Demo - I2C, Master Intf. to TMP100, Set P1.0 if Temp > 28C
//
// Description: I2C interface to T
i2c.h
/* High level I2C actions */
int __init i2c_init(void);
int i2c_writereg(unsigned char theSlave, unsigned char theReg, unsigned char theValue);
unsigned char i2c_readreg(unsigned char theSlave, u
i2c.h
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究
i2c.h
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究
i2c.c
/*
* FILE: i2c.c
* 用于主机发送/接收
*/
#include
#include "s3c24xx.h"
#include "i2c.h"
void Delay(int time);
#define WRDATA (1)
#define RDDATA (2)
typedef struct tI2C {
dsp2833x_i2c_defines.h
// TI File $Revision: /main/1 $
// Checkin $Date: August 18, 2006 13:45:46 $
//###########################################################################
//
// FILE: DSP2833x_I2cExample.h
//
main.c
#include "config.h"
#define LM75 0x90
/****************************************************************************
* 名 称:UART0_Init()
* 功 能:初始化串口0。设置为8位数据位,1位停止位,无奇偶校验
* 入口参数:无
* 出口
i2c.h
/*
*********************************************************************************************************
** 文件名称 : I2CINT.h
** 功能说明 : LPC2200系列芯片硬件I2C软件包。
** 使用说明 : 主程序要配置好I2C总线接口(I2C引脚功能和I2C中
main.c
/****************************************Copyright (c)**************************************************
** 上海丰宝电子科技有限公司
**
** 研
stm32f10x_i2c.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_i2c.c
* Author : MCD Application Team
* Date First Issued : 09/29/2006