⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hi_i2c.h

📁 华为 HI3510 BOOTLOADER HIBOOT 源码包
💻 H
字号:
/******************************************************************************  Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd. ******************************************************************************  File Name     : hi_i2c.h  Version       : Initial Draft  Author        : Hisilicon multimedia software group  Created       :   Last Modified : 2005/6/22  Description   :   Function List :  History       :  1.Date        : 2005/6/22    Author      : yuanyabin    Modification: Created file******************************************************************************/#ifndef __HI_INC_I2C_H__#define __HI_INC_I2C_H__#ifdef __cplusplus#if __cplusplusextern "C"{#endif#endif /* __cplusplus */struct i2c_client {  char name[32];  int id;  unsigned int flags;		/* div., see below		*/  unsigned int addr;	        /* chip write address */                                  /* read address is write address | 1 .*/    void *data;			/* for the clients		*/};UINT8 I2C_Read(IN struct i2c_client *pstClient, IN UINT8 u8Address);HI_RET I2C_Write(IN struct i2c_client *client, IN UINT8 u8Address, IN UINT8 u8Data);void I2C_Init (void);UINT8 I2C_SerialRead(IN UINT8 u8DevAddress, IN UINT8 u8Address);HI_RET I2C_SerialWrite(IN int devAddress, IN int address, IN int data);#ifdef __cplusplus#if __cplusplus}#endif#endif /* __cplusplus */#endif /* End of #ifndef __HI_INC_I2C_H__*/

⌨️ 快捷键说明

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