blob: 27dbfafc8a0811a54a8d33b8ca017763bbb72e1e [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/***********************************************************************
2* Copyright (C) 2001, ZTE Corporation.
3*
4* File Name: drvs_spcu.h
5* File Mark:
6* Description: spcu hal interface declaration.
7* Others:
8* Version: v1.0
9* Author: wangxia
10* Date: 2010-01-26
11*
12* History 1:
13* Date:
14* Version:
15* Author:
16* Modification:
17
18* History 2:
19**********************************************************************/
20
21#ifndef DRVS_SPCU_H
22#define DRVS_SPCU_H
23
24
25/*************************************************************************
26 * Include files *
27 *************************************************************************/
28
29
30/*************************************************************************
31 * Macro *
32 *************************************************************************/
33
34
35/**************************************************************************
36 * Types *
37 **************************************************************************/
38typedef VOID (*T_ZDRVSPCU_CALLBACK)(VOID);
39
40/**************************************************************************
41 * Global Variable *
42 **************************************************************************/
43
44/**************************************************************************
45 * Function Prototypes *
46 **************************************************************************/
47/**************************************************************************
48* Functin: zDrvSpcu_IntRegister
49* Description: This function is used to regist isr callback for l1g.
50* Parameters:
51* (IN)
52* fCallback: isr callback.
53* (OUT)
54* None.
55* Returns:
56* DRV_SUCCESS: successed.
57* DRV_ERR_NOT_SUPPORTED: this device don't support ioctrl operation.
58* DRV_ERR_INVALID_PARAM: the input parameters are invalid
59* DRV_ERROR: error
60* others: others programmer defined error code. for detailed information, please contact with the programmer
61* Others:
62* 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.
63**************************************************************************/
64extern SINT32 zDrvSpcu_IntRegister(T_ZDRVSPCU_CALLBACK fCallback,UINT32 intPrio);
65
66#endif/*DRVS_SPCU_H */
67
68