代码搜索结果
找到约 20,284 项符合
I2C 的代码
the i2c layer ex.htm
The I2C layer
i2c.c
#include
#include "i2c.h"
#define SLAVEADDR 0x50;
int tx_count;
int rx_count;
unsigned char I2CBuffer[3];
void InitI2C(void)
{
//将P3.1和P3.3设置为I2C管脚
P3SEL = 0x
i2c.c
#include
#include "i2c.h"
#define SLAVEADDR 0x50;
int tx_count;
int rx_count;
unsigned char I2CBuffer[3];
void InitI2C(void)
{
//将P3.1和P3.3设置为I2C管脚
P3SEL = 0x
i2c协议.txt
再读<mark>I2C</mark>协议
号称最简单串行通讯协议,只需要一根数据线一根时钟线就可以完成半双工通讯。
在公司居然找不到一个完整可用的PPC系列<mark>I2C</mark>控制器的驱动程序。究其原因主要有:
1.开发人员只看PPC UM或者器件的datasheet,不看<mark>I2C</mark>协议规范。而UM对<mark>I2C</mark>规范描述的过为简陋,因此混淆了<mark>I2C</mark>协议与<mark>I2C</mark>器件的应用协议。
2.PPC的<mark>I2C</ma ...
i2c.plg
礦ision2 Build Log
Project:
D:\实践\I2C\I2C.uv2
Project File Date: 03/06/2008
Output:
Build target 'Target 1'
compiling I2C.c...
linking...
**
i2c.v
//----------------------------------------------------------------------------
//
// Name: i2c.v
//
// Description: top-level moduel for I2C serial controller
//
// $Revision: 1.0 $
i2c.lnp
"main.obj"
TO "i2c"
CLASSES (CODE (C:0x0-C:0x1FFF), CONST (C:0x0-C:0x1FFF),
ECODE (C:0x0-C:0x1FFF), HCONST (C:0x0-C:0x1FFF))
i2c.plg
礦ision3 Build Log
Project:
C:\test2\i2c.uv2
Project File Date: 08/22/2007
Output:
Build target 'Target 1'
compiling main.c...
linking...
Pr
i2c.h
/*============== ⒀ Port Initialize Routine ⑿ =========================================
** Filename : I2C.H
** PIC I2C Routine
** (c) Copyright WOORY⑩ Industrial Company Limited. 1991-2
i2c.h
/*****************************************************************************
* i2c.h: Header file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor