blob: d0285b021a5f49e60f86d853af9c3e1667a8870e [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*********************************************************************
2 Copyright 2007 by ZTE Corporation.
3 *
4 * FileName:: drvs_backlight.h
5 * File Mark:
6* Description: This file contains the hardware interface for lcd blg driver
7* Others:
8* Version: v0.5
9* Author: zhangyingjun
10* Date: 2009-06-25
11
12* History 1:
13* Date:
14* Version:
15* Author:
16* Modification:
17* History 2:
18**********************************************************************/
19
20#ifndef _DRVS_KPDBLG_H
21#define _DRVS_KPDBLG_H
22
23
24/**************************************************************************
25* Function: KpdBlgEvb_Init
26* Description: initiate the battery device
27* Parameters:
28* Input:
29* None
30* Outpu: None
31* Returns:
32* DRV_SUCCESS
33* Others: None
34**************************************************************************/
35SINT32 KpdBlgEvb_Init(void);
36/**************************************************************************
37* Function: halBlg_LEDEnable
38* Description: open the LED
39* Parameters:
40* Input:
41* chan_1 LED channel
42* bl: TRUE or FALSE value,TRUE open the blg,FALSE close theblg
43* Outpu: None
44* Returns:
45* DRV_SUCCESS
46* Others: None
47**************************************************************************/
48SINT32 BlgEvb_LEDEnable(T_ZDrvBlg_LEDCHAN chan_1,BOOL bl) ;
49/**************************************************************************
50* Function: BlgEvb_LEDOn
51* Description: set the LED light frequence
52* Parameters:
53* Input:
54* channel LED channel
55* Freq the value of LED light frequence
56*
57* Outpu: None
58* Returns:
59* DRV_SUCCESS
60* Others: None
61**************************************************************************/
62SINT32 BlgEvb_LEDOn(T_ZDrvBlg_LEDCHAN channel,UINT32 period ,UINT32 Freq);
63/**************************************************************************
64* Function: BlgEVB_LEDOff
65* Description: set the LED light frequence
66* Parameters:
67* Input:
68* channel LED channel
69* Freq the value of LED light frequence
70*
71* Outpu: None
72* Returns:
73* DRV_SUCCESS
74* Others: None
75**************************************************************************/
76
77SINT32 BlgEVB_LEDOff(T_ZDrvBlg_LEDCHAN channel );
78
79#endif