FreeCalypso > hg > fc-tourmaline
view src/ui/mfw/ti1_key.h @ 72:7bf39f5e834d
backlight control on Luna: switch PWL instead of LEDB
This change is preliminary toward upcoming rework of backlight control
logic in our UI firmware. LEDB does not exist on Tango-based platforms
(it is not brought out on Tango modules), thus turning it on and off
produces absolutely no effect beyond making L1 disable deep sleep
when LEDB is turned on. However, both iWOW DSK and our upcoming
FC Caramel2 boards have a PWL LED, so let's switch that LED on and off
to indicate the state of the UI firmware's backlight control.
Note that we are NOT switching the actual Luna LCD backlight here,
even though it is trivially controlled with a GPIO. The reason for
this seemingly strange choice is that we don't want to turn this
development board LCD backlight off until we bring the higher-level
backlight control logic up to par, including new logic to "swallow"
the first keypress that turns on the darkened LCD.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 24 Oct 2020 07:39:54 +0000 |
parents | 67bfe9f274f6 |
children | 92abb46dc1ba |
line wrap: on
line source
/* +--------------------------------------------------------------------+ | PROJECT: MMI-Framework (8417) $Workfile:: ti1_key.h $| | $Author:: Es $ CONDAT GmbH $Revision:: 2 $| | CREATED: 28.01.99 $Modtime:: 28.01.99 15:02 $| | STATE : code | +--------------------------------------------------------------------+ MODULE : TI1_KEY PURPOSE : keyboard driver (TI1 VERSION) EXPORT : TO DO : $History:: ti1_key.h $ * * ***************** Version 2 ***************** * User: Es Date: 17.02.99 Time: 20:00 * Updated in $/GSM/DEV/MS/SRC/MFW * * ***************** Version 1 ***************** * User: Es Date: 9.02.99 Time: 14:54 * Created in $/GSM/DEV/MS/SRC/MFW * TI display & keyboard interface for MFW */ #ifndef _DEF_TI1_KEY_H_ #define _DEF_TI1_KEY_H_ /* BEGIN ADD: Req ID: : Sumit : 14-Mar-05 */ #ifdef NEPTUNE_BOARD #include "bmi_integ_misc.h" /** Definition of the virtual key identification. */ typedef UINT8 T_KPD_VIRTUAL_KEY_ID; /** Definition of the key state (pressed or released). */ typedef UINT8 T_KPD_KEY_STATE; /** Definition of the key press state (first press, long press, repeat press). */ typedef UINT8 T_KPD_PRESS_STATE; /** Definition of the subscriber identification. */ typedef void* T_KPD_SUBSCRIBER; #endif /* NEPTUNE_BOARD */ /* END ADD: Req ID: : Sumit : 14-Mar-05 */ #endif