iic.h

来自「基于ti公司的DM642的图像预处理的关键程序」· C头文件 代码 · 共 39 行

H
39
字号
/***********************************************************/
/*  Copyright 2003 by SEED Incorporated.				   */
/*  All rights reserved. Property of SEED Incorporated.    */ 
/*  											           */
/***********************************************************/
#ifndef _IIC_H  
#define _IIC_H

#include <std.h>
#include <csl_stdinc.h>
#include <csl_i2c.h>

#ifdef __cplusplus
extern "C" {
#endif

void _IIC_write(I2C_Handle hI2C,
              Uint8   devAddress,
              Uint32  subAddress,
              Uint8   data
              );
/*
 * ======== _IIC_read ========
 * This function performs read from operation via I2C bus.
 */

void _IIC_read(I2C_Handle hI2C,
              Uint8 devAddress,
              Uint32  subAddress,
              Uint8 *data
              );

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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