Keypad Interface with GUI
Keypad Interface with GUI

Keypad Interface with GUI

Function prototype: uint8_t CST_APIsetKeypadBL(uint8_t setting, bool permanent);

Description:
          Sets the keypad backlight status settings (keypad status enable / disable/ auto).
Parameters:
       
setting
is keypad backlight param
         0x00   KeypadBacklight_Off
         0x01   KeypadBacklight_On
         0x02   KeypadBacklight_Auto
       
permanent
is a Boolean flag which can either be
true
or
false
. It should be set to true if the new settings have to be stored to flash.
Return value: uint8_t status
        
CONFIG_SETTING_SUCCESS (1)
– When setting is success.
        
CONFIG_SETTING_FAIL
(0)– When new setting is failed/not allowed.

Function prototype: uint8_t CST_APIgetKeypadBL(void);

Description:
         Get keypad backlight status value
Parameters:
          None
Return value:
         Current Status of keypad backlight of type uint8_t
         0x00   keypad backlight Off
         0x01   keypad backlight On
          0x02   keypad backlight Auto