| /*********************************************************************** | |
| * Copyright (C) 2001, ZTE Corporation. | |
| * | |
| * File Name: drvs_spcu.h | |
| * File Mark: | |
| * Description: spcu hal interface declaration. | |
| * Others: | |
| * Version: v1.0 | |
| * Author: wangxia | |
| * Date: 2010-01-26 | |
| * | |
| * History 1: | |
| * Date: | |
| * Version: | |
| * Author: | |
| * Modification: | |
| * History 2: | |
| **********************************************************************/ | |
| #ifndef DRVS_SPCU_H | |
| #define DRVS_SPCU_H | |
| /************************************************************************* | |
| * Include files * | |
| *************************************************************************/ | |
| /************************************************************************* | |
| * Macro * | |
| *************************************************************************/ | |
| /************************************************************************** | |
| * Types * | |
| **************************************************************************/ | |
| typedef VOID (*T_ZDRVSPCU_CALLBACK)(VOID); | |
| /************************************************************************** | |
| * Global Variable * | |
| **************************************************************************/ | |
| /************************************************************************** | |
| * Function Prototypes * | |
| **************************************************************************/ | |
| /************************************************************************** | |
| * Functin: zDrvSpcu_IntRegister | |
| * Description: This function is used to regist isr callback for l1g. | |
| * Parameters: | |
| * (IN) | |
| * fCallback: isr callback. | |
| * (OUT) | |
| * None. | |
| * Returns: | |
| * DRV_SUCCESS: successed. | |
| * DRV_ERR_NOT_SUPPORTED: this device don't support ioctrl operation. | |
| * DRV_ERR_INVALID_PARAM: the input parameters are invalid | |
| * DRV_ERROR: error | |
| * others: others programmer defined error code. for detailed information, please contact with the programmer | |
| * Others: | |
| * others error code should be a negative number, and not equal to the value that already be defined in T_ZDrv_ErrCode in drv_pub.h. | |
| **************************************************************************/ | |
| extern SINT32 zDrvSpcu_IntRegister(T_ZDRVSPCU_CALLBACK fCallback,UINT32 intPrio); | |
| #endif/*DRVS_SPCU_H */ | |