代码搜索结果
找到约 10,000 项符合
I2C 的代码
tas3004.c
/*
* Driver for the i2c/i2s based TA3004 sound chip used
* on some Apple hardware. Also known as "snapper".
*
* Tobias Sargeant
* Based upon tas3001c.c by Christophe
tst_ds1621.vhd
--
--
-- State machine for reading data from Dallas 1621
--
-- Testsystem for i2c controller
--
--
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use work.i2c.all;
entity D
max6875.c
/*
max6875.c - driver for MAX6874/MAX6875
Copyright (C) 2005 Ben Gardner
Based on i2c/chips/eeprom.c
The MAX6875 has a bank of registers and two banks of EEPRO
rivafb-i2c.c
/*
* linux/drivers/video/riva/fbdev-i2c.c - nVidia i2c
*
* Maintained by Ani Joshi
*
* Copyright 2004 Antonino A. Daplas
*
* Based on radeonfb-i2c.
adm1025
Kernel driver adm1025
=====================
Supported chips:
* Analog Devices ADM1025, ADM1025A
Prefix: 'adm1025'
Addresses scanned: I2C 0x2c - 0x2e
Datasheet: Publicly available at the
asb100
Kernel driver asb100
====================
Supported Chips:
* Asus ASB100 and ASB100-A "Bach"
Prefix: 'asb100'
Addresses scanned: I2C 0x2d
Datasheet: none released
Author: Mark M. Hoffm
i2c_s.c
#include
/* 主器件函数库 */
/*******************************************
设置总线函数
用于设置I2C控制寄存器,包括总线时钟,速率及从地址.不接受广播地址
********************************************/
void setbus(uns
tst_ds1621.vhd
--
--
-- State machine for reading data from Dallas 1621
--
-- Testsystem for i2c controller
--
--
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use work.i2c.all;
entity D
i2cint.c
/****************************************************************************
* File:I2CINT.C
* 功能:使用硬件I2C对E2PROM进行操作,利用中断方式操作。
* 说明:将跳线器JP8_LED1、JP12短接。
******************************************
i2ccore.c
/* I2cCore.c - MPC8220 PPC I2C Library */
/* Copyright 2004 Freescale Semiconductor, Inc. */
/*
modification history
--------------------
01c,29jun04,tcl 1.3 removed CR. Added two bytes offset