FreeCalypso > hg > tcs211-l1-reconst
comparison chipsetsw/layer1/include/l1_pwmgr.h @ 120:5ad9ee0153e6
chipsetsw/layer1/include/l1_pwmgr.h: import from freecalypso-sw/gsm-fw
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 11 May 2016 23:45:18 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
119:53d8cb470dc7 | 120:5ad9ee0153e6 |
---|---|
1 /* | |
2 * This header file appears in the LoCosto version, but not in Leonardo. | |
3 * The version of this file in the LoCosto source was full of LoCosto | |
4 * specifics, so originally I planned on omitting it in FreeCalypso. | |
5 * However, some of the C modules make use of some of the definitions | |
6 * here no matter what CHIPSET, so I'm including a stripped-down version | |
7 * that has all LoCosto-isms removed, but retains the needed definitions. | |
8 */ | |
9 | |
10 #ifndef __L1_PWMGR_H__ | |
11 #define __L1_PWMGR_H__ | |
12 | |
13 #define FAIL_SLEEP_PERIPH_CHECK 1 /* When initial Check_Peripheral_App */ | |
14 #define FAIL_SLEEP_OSTIMERGAUGE 2 /* When checking for Osload, HWtimer or min_time_gauging */ | |
15 #define FAIL_SLEEP_PERIPH_SLEEP 3 /* When the peripherals are put to sleep */ | |
16 #define FAIL_SLEEP_L1SYNCH 4 /* Failed at l1s_synch level itself */ | |
17 | |
18 #define FAIL_SLEEP_DUE_TO_OSLOAD 0 | |
19 #define FAIL_SLEEP_DUE_TO_HWTIMER 1 | |
20 #define FAIL_SLEEP_DUE_TO_MINTIMEGAUGING 2 | |
21 | |
22 #define L1_PWMGR_APP_OFFSET 0x80 | |
23 | |
24 typedef struct | |
25 { | |
26 UWORD8 fail_id; | |
27 UWORD8 fail_ret_val; | |
28 }T_PWMGR_DEBUG; | |
29 | |
30 #endif |