代码搜索结果
找到约 10,000 项符合
I2C 的代码
i2c 24c02 读写.asm
简洁的24C02读写汇编程序
;--------------------------------------------
I2C_SDA EQU P1.6 ; PIN 5
I2C_SCL EQU P1.7 ; PIN 6
;=============================================
I2C_W
通用msp430—i2c程序.txt
第590篇:通用MSP430—I2C程序
发布时间:2004年2月25日
点击次数:3730
详细内容:通用MSP430—I2C程序
//==================================//
//通用MSP430—I2C程序
//收藏:清风徐徐
//QQ:78779514
//EMAIL:XSL88888@TOM.com
//2004.2.4
用labwindows写的i2c程序.txt
HRESULT CVIFUNC I2C_Start(void)
{
HRESULT __result = S_FALSE;
int i;
unsigned char ack;
for (i = 0; i < I2C_waitStartDelay;i ++) {
ack = I2C_GetSDA();//释放数据总线读数据总线
i2c总线c语言源程序.c
I2C总线C语言源程序
/*VIICC.H*/
#pragma db cd small
#include
#include
#define NOP nop ( ); nop ( ); nop ( ); nop ( )
#define SDA P1^7
#define SCL P1^6
void sta( );
void cack
i2c应用程序1.txt
; File: an734.asm
; data: feb.23.2001
; Written By: 歌林电子制作实验室www.nbglin.com
; Functionality:
;
; This code implements the basic functions for an I2C slave device
; using the SSP module. All
i2c应用程序2.txt
;*
i2c应用程序1.txt
; File: an734.asm
; data: feb.23.2001
; Written By: 歌林电子制作实验室www.nbglin.com
; Functionality:
;
; This code implements the basic functions for an I2C slave device
; using the SSP module. All
i2c应用程序2.txt
;*
i2c应用程序1.txt
; Functionality:
;
; This code implements the basic functions for an I2C slave device
; using the SSP module. All I2C functions are handled in an ISR.
; Bytes written to the slave are stored i