代码搜索结果
找到约 20,284 项符合
I2C 的代码
i2c.map.summary
Flow Status : Successful - Sat Jul 15 12:39:43 2006
Quartus II Version : 5.0 Build 148 04/26/2005 SJ Full Version
Revision Name : i2c
Top-level Entity Name : i2c
Family : MAX7000S
Device : EPM712
i2c.c
/* =========================================================================
* I2C总线基本操作函数
* =========================================================================*/
/* 全局符号定义 */
#define HI
i2c.h
/*******************************************************************
* P89LPC932硬件I2C软件包(主)
* 1 使用I2C总线软件包时P1.2,P1.3切勿写为0,并要设置为开漏输出。
* 2 总线定义为P1.2=SCL,P1.3=SDA,需外接上拉电阻2-10k。
* 3 相应寄存器:
*
i2c.h
// ------------------- head file for i2c.c -------------------------------------
#ifndef __LCD_I2C__
#define __LCD_I2C__
// ---------------- Pins' Definition of I2C Bus --------------------------
i2c.h
#include
#include "delay.h"
//I2C 状态定义
//MT 主方式传输 MR 主方式接受
#define START 0x08
#define RE_START 0x10
#define MT_SLA_ACK 0x18
#define MT_SLA_NOACK 0x20
#define MT_DATA_ACK 0x2
i2c._h
#include
#include "delay.h"
//I2C 状态定义
//MT 主方式传输 MR 主方式接受
#define START 0x08
#define RE_START 0x10
#define MT_SLA_ACK 0x18
#define MT_SLA_NOACK 0x20
#define MT_DATA_ACK 0x2
i2c.tdf
TITLE "I2C Controller";
PARAMETERS
(
DIVISOR = 25
);
%
Version 3.0, January 29th, 1998. Copyright Rune Baeverrud, 1996-1998.
You may use or distribute this function freely, provided you
i2c.h
#ifndef I2C_H
#define I2C_H
sbit SCL1 = P1^7; //字库用I2C时钟线
sbit SDA1 = P1^6; //字库用I2C数据线
sbit SCL2 = P1^5; //数据存储用I2C时钟线
sbit scl2 = P1^4; //数据存储用I2C数据线
void delay_5
i2c.c
#include
#include
#include "i2c.h"
bit SCL,SDA ; //用于切换两个I2C存储器
#define HIGH 1
#define LOW 0
#define FALSE 0
#define TRUE 1
/*******
i2c.lst
C51 COMPILER V7.50 I2C 05/17/2006 14:04:54 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE I2C
OBJECT MODULE PLACED IN I2C