blob: a3f95a4864492f804fc44265a6b948ed947405c9 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/***********************************************************************
2* Copyright (C) 2001, ZTE Corporation.
3*
4* File Name: hal_dsp.h
5* File Mark:
6* Description: tu hal interface declaration.
7* Others:
8* Version: v1.0
9* Author: wangxia
10* Date: 2008-08-28
11*
12* History 1:
13* Date:
14* Version:
15* Author:
16* Modification:
17
18* History 2:
19**********************************************************************/
20
21#ifndef HAL_DSP_H
22#define HAL_DSP_H
23
24
25/*************************************************************************
26 * Include files *
27 *************************************************************************/
28
29
30/*************************************************************************
31 * Macro *
32 *************************************************************************/
33
34
35/**************************************************************************
36 * Types *
37 **************************************************************************/
38typedef enum
39{
40 GSM_DSP_INT0 ,/*90*/
41 GSM_DSP_INT1,/*91*/
42 GSM_DSP_INT2,/*92*/
43 GSM_DSP_INT3,/*93*/
44 GSM_DSP_INT4,/*94*/
45 GSM_DSP_INT5,/*95*/
46 GSM_DSP_INT6,/*96*/
47 GSM_DSP_INT7,/*97*/
48
49 MAX_DSP_INT
50} T_ZDrvDsp_IntId;
51
52/**************************************************************************
53 * Global Variable *
54 **************************************************************************/
55
56
57/**************************************************************************
58 * Function Prototypes *
59 **************************************************************************/
60/**************************************************************************
61* Functin: zDrvDsp_IntRegister
62* Description: This function is used to regist isr callback for l1g.
63* Parameters:
64* (IN)
65* intNumber: T_ZDrvDsp_IntId.
66* cb: isr callback.
67* intPrio:prio of interrupt
68* (OUT)
69* None.
70* Returns:
71* DRV_SUCCESS: successed.
72* DRV_ERR_NOT_SUPPORTED: this device don't support ioctrl operation.
73* DRV_ERR_INVALID_PARAM: the input parameters are invalid
74* DRV_ERROR: error
75* others: others programmer defined error code. for detailed information, please contact with the programmer
76* Others:
77* 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.
78**************************************************************************/
79SINT32 zDrvDsp_IntRegister(T_ZDrvDsp_IntId intNumber,VOID (*cb)(VOID),UINT32 intPrio);
80
81
82#endif /* HAL_DSP_H */
83