_iic.h

来自「合众达DM643开发板DEC643的截取静态图像例程」· C头文件 代码 · 共 43 行

H
43
字号
/*
 *  Copyright 2004 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* August 2004 */
/**************************************************************************/
/* _iic.h file */
/**************************************************************************/
#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,
              Uint16  numBytes
              );

void _IIC_read(I2C_Handle hI2C,
              Uint8   devAddress,
              Uint32  subAddress,
              Uint8   *data,
              Uint16  numBytes
              );
              
#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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