代码搜索结果
找到约 10,000 项符合
I2C 的代码
i2c.map_nlf
Release 6.2i - netgen G.28
Copyright (c) 1995-2004 Xilinx, Inc. All rights reserved.
Loading device database for application netgen from file "i2c_map.ncd".
"i2c" is an NCD, version 2.38, device
e2prom.c
/*
* E2PROM 读写
*/
#include "e2prom.h"
/**
* 函数: i2c_start()
* 功能: 启动i2c
*/
void i2c_start()
{
SCL = 1;
nops();
SDA = 1;
nops();
SDA = 0;
nops();
SCL = 0;
}
/**
*
read-byte.dp2
read-byte.o: C:\iccv7avr\include\iom16v.h D:\16实验程序\I2C读写24C04\读一个字节\i2c.h
write-byte.dp2
write-byte.o: C:\iccv7avr\include\iom16v.h D:\16实验程序\I2C读写24C04\写一个字节\i2c.h
vpd.c
/*
* (C) Copyright 2000
* Sysgo Real-Time Solutions, GmbH
* Marius Groeger
*
* Code in faintly related to linux/arch/ppc/8xx_io:
* MPC8xx CPM I2C interface.
vpd.c
/*
* (C) Copyright 2000
* Sysgo Real-Time Solutions, GmbH
* Marius Groeger
*
* Code in faintly related to linux/arch/ppc/8xx_io:
* MPC8xx CPM I2C interface.
i2ctest.c
/****************************************************************************
* 文件名:I2CTEST.C
* 功能:使用硬件I2C对E2PROM进行操作,利用中断方式操作。
* 说明:将跳线器JP4_LED1、JP9短接。
*******************************************
i2ctest.c
/****************************************************************************
* 文件名:I2CTEST.C
* 功能:使用硬件I2C对E2PROM进行操作,利用中断方式操作。
* 说明:将跳线器JP4_LED1、JP9短接。
*******************************************
vi2c_c51.c
#include
#include
#define uchar unsigned char /*宏定义*/
#define uint unsigned int
#define _Nop() _nop_() /*定义空指令*/
sbit SDA=P2^3; /*模拟I2C数据传送位
vpd.c
/*
* (C) Copyright 2000
* Sysgo Real-Time Solutions, GmbH
* Marius Groeger
*
* Code in faintly related to linux/arch/ppc/8xx_io:
* MPC8xx CPM I2C interface.