代码搜索结果
找到约 10,000 项符合
I2C 的代码
modules.conf
# For modern kernels (2.6 or above), this belongs in /etc/modprobe.conf
# For for 2.4 kernels or earlier, this belongs in /etc/modules.conf.
# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_deb
cci2c.h
/* i2c routines */
int i2c_writeData(int n, unsigned char theSlave, unsigned char *theData, int size);
int i2c_readData(int n, unsigned char theSlave, unsigned char *theData, int size);
int i2c_ioct
modules.conf
# For modern kernels (2.6 or above), this belongs in /etc/modprobe.conf
# For for 2.4 kernels or earlier, this belongs in /etc/modules.conf.
# i2c
alias char-major-89 i2c-dev
options i2c-core i2c_deb
i2c_eeprom.lnp
"startup.o" "main.o" "uart1.o" "eeprom1.o" "delay.o" --strict --scatter "I2C_EEPROM.sct"
--map --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list ".\I2C
i2c_eeprom.lnp
"startup.o" "main.o" "uart1.o" "eeprom1.o" "delay.o" --strict --scatter "I2C_EEPROM.sct"
--map --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list ".\I2C
i2c.txt
#include "C8051F120.H"
#include "common.h"
#include "i2c.h"
/* Ports */
sbit SCL = P0^7;
sbit SDA = P0 ^ 6;
sbit CHECK = P1 ^ 0;
/* ------------ DEFINES --------------- */
/* I2c read
i2c.c
/*****************************************************************************
;文件名称:I2C.C
;创建日期:2007.6.19
;创 建 人:何 呈
; E-mail : hecheng@hrbeu.edu.cn
;修改日期:2007.6.19
;参考文档:无
;特殊说明:I2C器件读写(器件地址
group__ads7828.html
Procyon AVRlib: TI ADS7828 I2C A/D Converter
i2c.c
#include
#include "delay.h"
#include "i2c.h"
/*
* I2C functions for HI-TECH PIC C - master mode only
*/
/*
* TIMING - see Philips Sem. 80C51-based 8-bit ucontrollers,
* or e.