comparison src/cs/drivers/drv_app/lcc/lcc_tm_i.h @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
1 /******************************************************************************
2 * Power Task (pwr)
3 * Design and coding by Svend Kristian Lindholm, skl@ti.com
4 *
5 * PWR ETM interface
6 *
7 * $Id: pwr_tm_i.h 1.1 Wed, 20 Aug 2003 10:22:37 +0200 skl $
8 *
9 ******************************************************************************/
10
11 #ifndef _LCC_TM_I_H_
12 #define _LCC_TM_I_H_
13
14 #define PWR_CFG_ID_SIZE 2
15 #define PWR_COMMON_CFG_SIZE 14
16 #define PWR_BAT_CFG_SIZE 36
17 #define PWR_TEMP_CFG_SIZE 72
18 #define PWR_MMI_CFG_SIZE 2
19 #define PWR_CHG_CFG_SIZE 8
20 #define PWR_I2V_CAL_SIZE 6
21 #define PWR_VBAT_CAL_SIZE 6
22 #define PWR_DYNAMIC_SIZE 1
23 #define PWR_TMASK_SIZE 4
24
25 // This enumeration should be shared with the PC test mode side
26 enum {
27 PWR_CFG_ID = 0,
28 PWR_COMMON,
29 PWR_CHG,
30 PWR_BAT,
31 PWR_TEMP,
32 PWR_MMI,
33 PWR_I2V_CAL = 10,
34 PWR_VBAT_CAL,
35 PWR_MMI_TEST = 15,
36 PWR_DYNAMIC = 20,
37 PWR_TRACE_MASK= 21
38 } ;
39
40 // Test mode indication mail sent to ETM
41 // NOTE: Also used as request mail
42 struct etm_tm_ind_s {
43 T_RV_HDR header;
44 uint8 size;
45 uint8 status;
46 uint8 data[127];
47 };
48
49 typedef struct etm_tm_ind_s T_ETM_TM_IND; // Use same buffer in both directions
50
51 #endif //_LCC_TM_I_H_