代码搜索结果
找到约 20,284 项符合
I2C 的代码
i2c.c
//--------------------------------------------------------------------------//
// //
// Name: I2C Communication for the ADSP-BF533 EZ-KIT Lite //
// //
//-
i2c.txt
<mark>I2C</mark>总线协议程序
在做程序是我在网上找的是周立功的程序,感觉还不错顺便转载;在使用的过程中一定要注意时序、时间的问题。
<mark>i2c</mark>.c
/*
<mark>I2C</mark>.c
标准80C51单片机模拟<mark>I2C</mark>总线的主机程序
Copyright (c) 2005,广州周立功单片机发展有限公司
All rights reserved.
本程序仅供学习参考,不提供任何可靠性方面的担 ...
i2c.plg
Build target 'Target 1'
linking...
Program Size: data=8.0 xdata=0 code=411
creating hex file from "I2C"...
"I2C" - 0 Error(s), 0 Warning(s).
i2c.plg
Build target 'Target 1'
linking...
Program Size: data=8.0 xdata=0 code=411
creating hex file from "I2C"...
"I2C" - 0 Error(s), 0 Warning(s).
i2c.plg
Build target 'Target 1'
linking...
Program Size: data=8.0 xdata=0 code=411
creating hex file from "I2C"...
"I2C" - 0 Error(s), 0 Warning(s).
i2c.c
#include
#include "i2c.h"
#define SLAVEADDR 0x50;
int tx_count;
int rx_count;
unsigned char I2CBuffer[3];
void InitI2C(void)
{
//将P3.1和P3.3设置为I2C管脚
P3SEL = 0x
i2c.c
#include
#include "i2c.h"
#define SLAVEADDR 0x50;
int tx_count;
int rx_count;
unsigned char I2CBuffer[3];
void InitI2C(void)
{
//将P3.1和P3.3设置为I2C管脚
P3SEL = 0x
i2c.c
/*********************************************************************************************************
**文件名称:I2CINT.c
**功能说明:硬件I2C中断方式软件包。
**使用说明:软件包采用中断方式进行操作。
******************************
i2c.h
/*********************************************************************************************************
**文件名称:I2CINT.c
**功能说明:硬件I2C中断方式软件包头文件。
**使用说明:软件包采用中断方式进行操作。
***************************
i2c.c
/************************************************
* initI2C_NCAP *
* Esta fun玢o inicia o i2c para o NCAP *
* O NCAP tem sp o id 8 *
************************************************/