代码搜索结果
找到约 10,000 项符合
I2C 的代码
i2c.h
/*
* Freescale I2C Controller
*
* This software may be used and distributed according to the
* terms of the GNU Public License, Version 2, incorporated
* herein by reference.
*
* Copyright 2004
makefile
CFLAGS= -Wall -O2
CC=arm-linux-gcc
i2c: eeprog.o 24cXX.o
$(CC) $(CFLAGS) -o i2c eeprog.o 24cXX.o
clean:
rm -f i2c 24cXX.o eeprog.o
lcdt232.asm
;=====i2c lcd test for Ericsson T230 CSTN ======02/09/2007==
; iic lcd driver: UC1682
; ra0,ra1 sdata,sclock
; rb0 to rb7 led outputs
; internal clock
; standard crystal 4.000 MHz XT - 1us pe
24lc256.c
//---------------------------------------
// 24LC256 I2C EEPROM driver
// www.GetMicro.com
//---------------------------------------
#include
#include
#
#define ACK 1
i2c_soft.c
/* 单主器件I2C总线模拟子程序 */
#include
#include
#define uchar unsigned char
#define DELAY5US _nop_();_nop_();_nop_();_nop_(); // 需要根据晶振频率调整
sbit VSDA=P1^0; // 将p1.0口模拟数
fet140_i2c_03.c
//******************************************************************************
// MSP-FET430P140 Demo - I2C, Master Interface to DAC8571 in Repeat Mode
// Master = '169, Slave = DAC8571
//
/
i2ccfg.h
/****************************************Copyright (c)****************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
i2c_soft.c
/* 单主器件I2C总线模拟子程序 */
#include
#include
#define uchar unsigned char
#define DELAY5US _nop_();_nop_();_nop_();_nop_(); // 需要根据晶振频率调整
sbit VSDA=P1^0; // 将p1.0口模拟数
i2c_soft.c
/* 单主器件I2C总线模拟子程序 */
#include
#include
#define uchar unsigned char
#define DELAY5US _nop_();_nop_();_nop_();_nop_(); // 需要根据晶振频率调整
sbit VSDA=P1^0; // 将p1.0口模拟数
iicxx.c
//**********************************************************
//** IIC驱动程序 **
//** 单片机: STC12C5410AD 主频: 24MHz **
//** Jumping