www.pudn.com > scaling.rar > _iic.h


/* 
 *  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 */ 
#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, 
              Uint16  numBytes 
              ); 
 
void _IIC_read(I2C_Handle hI2C, 
              Uint8 devAddress, 
              Uint32  subAddress, 
              Uint8 *data, 
              Uint16  numBytes 
              ); 
 
 
#ifdef __cplusplus 
} 
#endif 
 
#endif