1 /******************************************************************************
2 ** File Name: sc8810_i2c_cfg.h *
5 ** Copyright: 2010 Spreatrum, Incoporated. All Rights Reserved. *
6 ** Description: This file define the basic hw interfaces of I2C device. *
7 ******************************************************************************
9 ******************************************************************************
11 ** ------------------------------------------------------------------------- *
12 ** DATE NAME DESCRIPTION *
13 ** 06/28/2010 liuhao Create. *
14 ******************************************************************************/
16 #ifndef _SC8810_I2C_CFG_H_
17 #define _SC8810_I2C_CFG_H_
18 /*----------------------------------------------------------------------------*
20 **------------------------------------------------------------------------- */
21 #include "asm/arch/sci_types.h"
25 /**---------------------------------------------------------------------------*
27 **--------------------------------------------------------------------------*/
33 /**---------------------------------------------------------------------------*
35 **---------------------------------------------------------------------------*/
38 //#define IIC_PRINT SCI_TRACE_LOW
43 /**---------------------------------------------------------------------------*
45 **---------------------------------------------------------------------------*/
53 #define I2C_PORT_NUM 0
75 /**----------------------------------------------------------------------------*
76 ** Local Function Prototype **
77 **----------------------------------------------------------------------------*/
80 /**----------------------------------------------------------------------------*
81 ** Function Prototype **
82 **----------------------------------------------------------------------------*/
84 /**----------------------------------------------------------------------------*
86 **----------------------------------------------------------------------------*/
90 /**---------------------------------------------------------------------------*/