代码搜索结果
找到约 10,000 项符合
I2C 的代码
tms470r1b1m_i2c_03.c
//******************************************************************************
// TMS470 Demo - I2C Sample Program I2C2
//
// This is a I2C2 Slave Interrupt configuration.
// Data is recieved fr
tms470r1b1m_i2c_02.c
//******************************************************************************
// TMS470 Demo - I2C Sample Program I2C1
//
// This is a I2C1 Master Interrupt configuration.
// Data from a table
i2c.h
//===================================================
// I2C协议脚位定义(用于80110H)
//===================================================
sbit P_SDA = P3^7;
sbit P_SCL = P3^6;
//====================
sonar.c
// sonar.c - a simple test to check if i2c works
// this program requires a devantech ultrasound sensor and a Cerebellum
// When this program is running, every time you feed Cerebellum a byte
// o
i2c_bb.c
// I2C_BB.C
//
// This is a collection of low level I2C routines which are implemented
// using "bit bang" as opposed to using a MSSP module.
//
// This is not a standalone program but is include
i2c.dbg
FILE D:\ICC-AVR\examples.sl\I2C\I2C.c
DEFSTATIC tabel 1A Ac[16:16]
FILE D:\ICC-AVR\examples.sl\I2C\I2C.c
FUNC i2c_Write 70 fI
DEFREG RomAddress 22 c
DEFREG Wdata 20 c
LINE 25 76
LINE 26 76
LIN
i2c.smp_dump.txt
State Machine - |i2c|main_state
Name main_state~66 main_state~65
main_state.00 0 0
main_state.01 1 0
main_state.10 1 1
State Machine - |i2c|i2c_state
Name i2c_state~52 i2c_state~51 i2c_s
cycletime.h
/***************************************
*51单片机时序总驱动
*包括并口的6800和8080,串口的I2C,SPI,1-WIRE
*所有片选由上层驱动完成(I2C,1-wire为总线选择)
*Ver: 0.1 0816 //Test Pass: KS0108(6800),MAX153(8080),18B20(1-wire),****24C02(
i2cclockandtms320lf2407.c
I2C串行日历时钟与TMS320LF2407的接口及应用
源程序代码:
// 该程序实现对I2C总线日历时钟芯片PCF8583的读写操作
#include "register.h"
// 系统初始化子程序
void sysinit()
{
asm( " setc INTM "); // 关闭总中断
asm( " clrc SXM ") ; // 抑制符号扩展
hi2c_c51.c
/*******************************************************************
* P89LPC932硬件I2C软件包(主)
* 1 使用I2C总线软件包时P1.2,P1.3切勿写为0,并要设置为开漏输出。
* 2 总线定义为P1.2=SCL,P1.3=SDA,需外接上拉电阻2-10k。
* 3 相应寄存器:
*