yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * Copyright (C) 2016, ZTE Corporation. |
| 3 | * |
| 4 | * File Name: drvs_aw9523b.h |
| 5 | * File Mark: |
| 6 | * Description: Provide backlight control interface for lcd module. |
| 7 | * Others: |
| 8 | * Version: V1.0 |
| 9 | * Author: Zhou Tianbao |
| 10 | * Date: 2016-9-26 |
| 11 | * History 1: |
| 12 | * Date: |
| 13 | * Version: |
| 14 | * Author: |
| 15 | * Modification: |
| 16 | * History 2: |
| 17 | ********************************************************************************/ |
| 18 | |
| 19 | #ifndef _DRVS_AW9523B_BLG_H |
| 20 | #define _DRVS_AW9523B_BLG_H |
| 21 | |
| 22 | #include "drvs_general.h" |
| 23 | |
| 24 | /******************************************************************************* |
| 25 | * Function: kpd_SetLcdBlg |
| 26 | * Description: Set lcd backlight. |
| 27 | * Parameters: |
| 28 | * Input: |
| 29 | * brightness: |
| 30 | * Output: |
| 31 | * None |
| 32 | * Returns: |
| 33 | * DRV_SUCCESS or error code |
| 34 | * Others: |
| 35 | *******************************************************************************/ |
| 36 | SINT32 kpd_SetLcdBlg(UINT8 brightness); |
| 37 | |
| 38 | /******************************************************************************* |
| 39 | * Function: kpd_GetLcdBlgBrightness |
| 40 | * Description: Get lcd backlight. |
| 41 | * Parameters: |
| 42 | * Input: |
| 43 | * None: |
| 44 | * Output: |
| 45 | * pBrightness: where brightness value is stored. |
| 46 | * Returns: |
| 47 | * DRV_SUCCESS or error code |
| 48 | * Others: |
| 49 | *******************************************************************************/ |
| 50 | SINT32 kpd_GetLcdBlgBrightness(UINT8 *pBrightness); |
| 51 | |
| 52 | |
| 53 | #endif |