| /******************************************************************************* |
| * Copyright (C) 2016, ZTE Corporation. |
| * |
| * File Name: drvs_aw9523b.h |
| * File Mark: |
| * Description: Provide backlight control interface for lcd module. |
| * Others: |
| * Version: V1.0 |
| * Author: Zhou Tianbao |
| * Date: 2016-9-26 |
| * History 1: |
| * Date: |
| * Version: |
| * Author: |
| * Modification: |
| * History 2: |
| ********************************************************************************/ |
| |
| #ifndef _DRVS_AW9523B_BLG_H |
| #define _DRVS_AW9523B_BLG_H |
| |
| #include "drvs_general.h" |
| |
| /******************************************************************************* |
| * Function: kpd_SetLcdBlg |
| * Description: Set lcd backlight. |
| * Parameters: |
| * Input: |
| * brightness: |
| * Output: |
| * None |
| * Returns: |
| * DRV_SUCCESS or error code |
| * Others: |
| *******************************************************************************/ |
| SINT32 kpd_SetLcdBlg(UINT8 brightness); |
| |
| /******************************************************************************* |
| * Function: kpd_GetLcdBlgBrightness |
| * Description: Get lcd backlight. |
| * Parameters: |
| * Input: |
| * None: |
| * Output: |
| * pBrightness: where brightness value is stored. |
| * Returns: |
| * DRV_SUCCESS or error code |
| * Others: |
| *******************************************************************************/ |
| SINT32 kpd_GetLcdBlgBrightness(UINT8 *pBrightness); |
| |
| |
| #endif |