/********************************************************************* | |
Copyright 2007 by ZTE Corporation. | |
* | |
* FileName:: drvs_backlight.h | |
* File Mark: | |
* Description: This file contains the hardware interface for lcd blg driver | |
* Others: | |
* Version: v0.5 | |
* Author: zhangyingjun | |
* Date: 2009-06-25 | |
* History 1: | |
* Date: | |
* Version: | |
* Author: | |
* Modification: | |
* History 2: | |
**********************************************************************/ | |
#ifndef _DRVS_KPDBLG_H | |
#define _DRVS_KPDBLG_H | |
/************************************************************************** | |
* Function: KpdBlgEvb_Init | |
* Description: initiate the battery device | |
* Parameters: | |
* Input: | |
* None | |
* Outpu: None | |
* Returns: | |
* DRV_SUCCESS | |
* Others: None | |
**************************************************************************/ | |
SINT32 KpdBlgEvb_Init(void); | |
/************************************************************************** | |
* Function: halBlg_LEDEnable | |
* Description: open the LED | |
* Parameters: | |
* Input: | |
* chan_1 LED channel | |
* bl: TRUE or FALSE value,TRUE open the blg,FALSE close theblg | |
* Outpu: None | |
* Returns: | |
* DRV_SUCCESS | |
* Others: None | |
**************************************************************************/ | |
SINT32 BlgEvb_LEDEnable(T_ZDrvBlg_LEDCHAN chan_1,BOOL bl) ; | |
/************************************************************************** | |
* Function: BlgEvb_LEDOn | |
* Description: set the LED light frequence | |
* Parameters: | |
* Input: | |
* channel LED channel | |
* Freq the value of LED light frequence | |
* | |
* Outpu: None | |
* Returns: | |
* DRV_SUCCESS | |
* Others: None | |
**************************************************************************/ | |
SINT32 BlgEvb_LEDOn(T_ZDrvBlg_LEDCHAN channel,UINT32 period ,UINT32 Freq); | |
/************************************************************************** | |
* Function: BlgEVB_LEDOff | |
* Description: set the LED light frequence | |
* Parameters: | |
* Input: | |
* channel LED channel | |
* Freq the value of LED light frequence | |
* | |
* Outpu: None | |
* Returns: | |
* DRV_SUCCESS | |
* Others: None | |
**************************************************************************/ | |
SINT32 BlgEVB_LEDOff(T_ZDrvBlg_LEDCHAN channel ); | |
#endif |