blob: 2f4e5490b68eb8e5fb806bfbe2a51d59a7201bf8 [file] [log] [blame]
/*********************************************************************
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_BLG_H
#define _DRVS_BLG_H
/**************************************************************************
* Function: BlgEvb_Init
* Description: initiate the battery device
* Parameters:
* Input:
* None
* Outpu: None
* Returns:
* DRV_SUCCESS
* Others: None
**************************************************************************/
SINT32 BlgEvb_Open(void);
/**************************************************************************
* Function: BlgEvb_LcdEnable
* Description: open the LCD backlight
* Parameters:
* Input:
* bl: TRUE or FALSE value,TRUE open the blg,FALSE close theblg
* Outpu: None
* Returns:
* DRV_SUCCESS
* Others: None
**************************************************************************/
SINT32 BlgEvb_LcdEnable(BOOL bl);
/**************************************************************************
* Function: halBlg_LcdSetBrightness
* Description: set the LCD brightness
* Parameters:
* Input:
* val_brightness the value of lcd brightness
*
* Outpu: None
* Returns:
* DRV_SUCCESS
* Others: None
**************************************************************************/
SINT32 BlgEvb_LcdSetBrightness(UINT32 val_brightness );
#endif