/* * Driver for the i2c controller on the Marvell line of host bridges for MIPS * and PPC (e.g, gt642[46]0, mv643[46]0, mv644[46…
I2C+controller 源代码
汇集 I2C+controller 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/* i2c-dev.c - i2c-bus driver, char device interface Copyright (C) 1995-97 Simon G. Vogl Copyright (C) 1998-99 Frod…
cmd_drivers/i2c/i2c-dev.o := armv5l-linux-gcc -Wp,-MD,drivers/i2c/.i2c-dev.o.d -nostdinc -I /opt/timesys/toolchains/armv5l-linux/l…
cmd_drivers/i2c/i2c-core.o := armv5l-linux-gcc -Wp,-MD,drivers/i2c/.i2c-core.o.d -nostdinc -I /opt/timesys/toolchains/armv5l-linux…
/* i2c-core.c - a device driver for the iic-bus interface */ /* ------------------------------------------------------------…
/* i2c-core.c - a device driver for the iic-bus interface */ /* ------------------------------------------------------------…
#include "i2c.h" #include #include byte i2c_local_buff[5]; void init_i2c(void) { int i; bool FirstCheck = …