view src/g23m-fad/tcpip/include/rvm_ext_priorities.h @ 51:04aaa5622fa7

disable deep sleep when Iota LEDB is on TI's Iota chip docs say that CLK13M must be running in order for LEDB to work, and practical experience on Mot C139 which uses Iota LEDB for its keypad backlight concurs: if Calypso enters deep sleep while the keypad backlight is turned on, the light flickers visibly as the chipset goes into and out of deep sleep. TI's original L1 sleep manager code had logic to disable deep sleep when LT_Status() returns nonzero, but that function only works for B-Sample and C-Sample LT, always returns 0 on BOARD 41 - no check of Iota LEDB status anywhere. Change this code for our current hardware: disable deep sleep when Iota LEDB has been turned on through LLS.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 19 Oct 2020 05:11:29 +0000
parents fa8dc04885d8
children
line wrap: on
line source

/*************************************************************************************
 *                                                                                   *
 *  Name        rvm_ext_priorities.h                                                 *
 *                                                                                   *
 *  Function    this file priorities defintitions for basic SWEs               *
 *        It includes a file
 *                                                                                   *
 *  Version    0.1                                       *
 *                                               *
 *   Date         Modification                                 *
 *  ------------------------------------                           *
 *  10/11/2000  Create                                     *
 *                                               *
 *  Author    Cristian Livadiotti (c-livadiotti@ti.com)                   *
 *                                               *
 * (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved         *
 *                                                                                   *
 * --------------------------------------------------------------------------------- *
 *                                                                                   *
 *   History:                                                                        *
 *                                                                                   *
 *   10/18/2001 - Updated for R2D by Christophe Favergeon                         *
 *                                                                                   *
 *************************************************************************************/

#ifndef __RVM_EXT_PRIORITIES_H_
#define __RVM_EXT_PRIORITIES_H_

/* PRIORITIES SETTING:                        */
/* All user priority should be set under 250: */
/* Higher values are reserved                 */

/*
** External Priority definitions
*/
#define RVM_EXPL_TASK_PRIORITY (240)
#define RVM_OBX_TASK_PRIORITY (240)
#define RVM_OPP_TASK_PRIORITY (240)
#define RVM_SYN_TASK_PRIORITY (240)
#define RVM_FTP_TASK_PRIORITY (240)
#define RVM_RGUI_TASK_PRIORITY (240)
#define RVM_R2D_TASK_PRIORITY (239)

#define RVM_DEV1_TASK_PRIORITY (245)
#define RVM_DEV2_TASK_PRIORITY (245)
#define RVM_DEV3_TASK_PRIORITY (245)

#define RVM_UVM_TASK_PRIORITY (245)

#endif /* __RVM_EXT_PRIORITIES_H_ */