view src/cs/drivers/drv_app/lcc/lcc_handle_timers.h @ 198:bb5aba57ecfb

Condat backlight driver: actually allow switching levels We earlier made a change to this driver allowing different backlight levels to be set. However, the old backlight idle logic prevented switching from one backlight level to another without going through a fully-off state. Now that we have the beginnings of new backlight timer logic in BMI+MFW, the old idle logic in the Condat driver layer can be axed, and we fix that driver layer to allow free switching between different backlight levels.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 29 Mar 2021 01:52:48 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/******************************************************************************
 * Power Task (pwr)
 * Design and coding by Svend Kristian Lindholm, skl@ti.com
 *
 * PWR Message Processing
 *
 * $Id: pwr_handle_timers.h 1.1 Wed, 20 Aug 2003 10:22:37 +0200 skl $
 *
 ******************************************************************************/
#ifndef __LCC_HANDLE_TIMERS_H_
#define __LCC_HANDLE_TIMERS_H_

#include "lcc/lcc.h"

T_RV_RET process_pwr_handle_T1_expiration    (T_PWR_REQ *request);
T_RV_RET process_pwr_handle_T2_expiration    (T_PWR_REQ *request);
T_RV_RET process_pwr_handle_T3_expiration    (T_PWR_REQ *request);
T_RV_RET process_pwr_handle_T4_expiration    (T_PWR_REQ *request);
T_RV_RET process_pwr_handle_mmi_info_expiration(T_PWR_REQ *request);

void pwr_check_timers(void);
T_RVM_RETURN pwr_create_timer(UINT32 *timer_begin);
T_RVM_RETURN pwr_start_timer(UINT32 *timer_begin);

#endif