FreeCalypso > hg > tcs211-c139
comparison chipsetsw/drivers/drv_app/lcc/lcc_cfg_i.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /****************************************************************************** | |
2 * Power Task (pwr) | |
3 * Design and coding by Svend Kristian Lindholm, skl@ti.com | |
4 * | |
5 * PWR Configuration Variables NOT in FFS | |
6 * | |
7 * $Id: pwr_cfg_i.h 1.2 Wed, 20 Aug 2003 12:54:50 +0200 skl $ | |
8 * | |
9 ******************************************************************************/ | |
10 | |
11 #ifndef _LCC_CFG_I_H_ | |
12 #define _LCC_CFG_I_H_ | |
13 | |
14 | |
15 // The charging current used in SW precharge state | |
16 #define ICHG_PRECHG 500 | |
17 | |
18 // The SW precharge start threshold - discriminator that decides between entering INI or PRE states | |
19 #define VBAT_PRECHG_START 3200 | |
20 | |
21 // The SW precharge stop threshold - PRE->INI state & FFS configuration files will be read | |
22 #define VBAT_PRECHG_STOP 3600 | |
23 | |
24 // Define how many consecutive charger unplugs we must detect in order to have a 'real' unplug | |
25 #define CONSECUTIVE_CHG_UNPLUGS 5 | |
26 | |
27 // Define the size of the exponential avg window when in PRE state (i.e. no FFS configuration is read) | |
28 #define PRECHG_AVG_WINDOW_SIZE 5 | |
29 | |
30 // Define the battery slip number before we read the battery id | |
31 #define BATTERY_TYPE_SLIP 4 | |
32 | |
33 // Define the charger slip number before we read the charger id | |
34 #define CHARGER_TYPE_SLIP 2 | |
35 | |
36 // Define the lower charger id out-of-bound value (mV) | |
37 #define CHARGER_TYPE_OUT_OF_BOUND_LOW 4000 | |
38 | |
39 // Define the 'typical' charger id that will be used if the charger id reading has failed | |
40 // Make sure it's in the charger voltage interval | |
41 #define CHARGER_TYPE_TYPICAL 4201 | |
42 | |
43 // The Q402 Vchg thresholds that decides a charger unplug when charging has been initiated | |
44 #define VCHG_Q402_THR 1000 | |
45 #define ICHG_Q402_THR 20 | |
46 | |
47 | |
48 #endif |