| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /********************************************************************* | 
|  | 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_BLG_H | 
|  | 21 | #define _DRVS_BLG_H | 
|  | 22 |  | 
|  | 23 |  | 
|  | 24 | /************************************************************************** | 
|  | 25 | * Function: BlgEvb_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 | **************************************************************************/ | 
|  | 35 | SINT32  BlgEvb_Open(void); | 
|  | 36 | /************************************************************************** | 
|  | 37 | * Function: BlgEvb_LcdEnable | 
|  | 38 | * Description: open the LCD backlight | 
|  | 39 | * Parameters: | 
|  | 40 | *   Input: | 
|  | 41 | *              bl: TRUE or FALSE value,TRUE open the blg,FALSE close theblg | 
|  | 42 | *   Outpu: None | 
|  | 43 | * Returns: | 
|  | 44 | *	        DRV_SUCCESS | 
|  | 45 | * Others: None | 
|  | 46 | **************************************************************************/ | 
|  | 47 | SINT32 BlgEvb_LcdEnable(BOOL bl); | 
|  | 48 | /************************************************************************** | 
|  | 49 | * Function: halBlg_LcdSetBrightness | 
|  | 50 | * Description: set the LCD brightness | 
|  | 51 | * Parameters: | 
|  | 52 | *   Input: | 
|  | 53 | *              val_brightness the value of lcd brightness | 
|  | 54 | * | 
|  | 55 | *   Outpu: None | 
|  | 56 | * Returns: | 
|  | 57 | *	        DRV_SUCCESS | 
|  | 58 | * Others: None | 
|  | 59 | **************************************************************************/ | 
|  | 60 | SINT32  BlgEvb_LcdSetBrightness(UINT32 val_brightness ); | 
|  | 61 |  | 
|  | 62 | #endif |