davincievm_i2c.h

来自「开发环境CCS3.2,为TI最新处理器TMS320DM6446的网卡驱动程序源码」· C头文件 代码 · 共 37 行

H
37
字号
/*
 *  Copyright 2005 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 *
 *  Not for distribution.
 */

/*
 *  I2C header file
 *
 */

#ifndef I2C_
#define I2C_

#ifdef __cplusplus
extern "C" {
#endif

#include "davincievm.h"

/* ------------------------------------------------------------------------ *
 *                                                                          *
 *  I2C Prototypes                                                          *
 *                                                                          *
 * ------------------------------------------------------------------------ */
Int16 DAVINCIEVM_I2C_init ( );
Int16 DAVINCIEVM_I2C_close( );
Int16 DAVINCIEVM_I2C_write( Uint16 slaveaddr, Uint8* data, Uint16 len );
Int16 DAVINCIEVM_I2C_read ( Uint16 slaveaddr, Uint8* data, Uint16 len );

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?