www.pudn.com > Grayscale.rar > iic.h


/***********************************************************/ 
/*  Copyright 2003 by SEED Incorporated.				   */ 
/*  All rights reserved. Property of SEED Incorporated.    */  
/*  											           */ 
/***********************************************************/ 
#ifndef _IIC_H   
#define _IIC_H 
 
#include  
#include  
#include  
 
#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