comparison gsm-fw/bsp/niq32.c @ 646:7310ce904148

gsm-fw/bsp/niq32.c: SIM hooked in
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 03 Sep 2014 22:27:24 +0000
parents 05bcd5618c9a
children 3f178b3ac50a
comparison
equal deleted inserted replaced
645:14826aa2db26 646:7310ce904148
34 #include "armio.h" 34 #include "armio.h"
35 35
36 #include "../serial/serialswitch.h" 36 #include "../serial/serialswitch.h"
37 #include "rtc/rtc_config.h" 37 #include "rtc/rtc_config.h"
38 38
39 #if CONFIG_INCLUDE_SIM
40 #include "sim.h"
41 #endif
42
39 #if 0 43 #if 0
40 44
41 /* original maze of includes */ 45 /* original maze of includes */
42 46
43 #if(OP_L1_STANDALONE == 0) 47 #if(OP_L1_STANDALONE == 0)
141 unsigned IQ_TimerCount; /* Used to check if timer is incrementing */ 145 unsigned IQ_TimerCount; /* Used to check if timer is incrementing */
142 unsigned IQ_DummyCount; /* Used to check if dummy IT */ 146 unsigned IQ_DummyCount; /* Used to check if dummy IT */
143 unsigned IQ_FrameCount; /* Used to check if Frame IT TPU*/ 147 unsigned IQ_FrameCount; /* Used to check if Frame IT TPU*/
144 unsigned IQ_GsmTimerCount; /* Used to check if GSM Timer IT */ 148 unsigned IQ_GsmTimerCount; /* Used to check if GSM Timer IT */
145 149
146 /* FreeCalypso: the following interrupt handlers remain to be integrated */
147 #define SIM_IntHandler IQ_Dummy
148 #define SIM_CD_IntHandler IQ_Dummy
149
150 /*--------------------------------------------------------------*/ 150 /*--------------------------------------------------------------*/
151 /* irqHandlers */ 151 /* irqHandlers */
152 /*--------------------------------------------------------------*/ 152 /*--------------------------------------------------------------*/
153 /* Parameters :none */ 153 /* Parameters :none */
154 /* Return : none */ 154 /* Return : none */
162 IQ_TimerHandler1, /* timer 1 */ 162 IQ_TimerHandler1, /* timer 1 */
163 IQ_TimerHandler2, /* timer 2 */ 163 IQ_TimerHandler2, /* timer 2 */
164 IQ_Dummy, /* AIRQ 3 */ 164 IQ_Dummy, /* AIRQ 3 */
165 IQ_FrameHandler, /* TPU Frame It AIRQ 4 */ 165 IQ_FrameHandler, /* TPU Frame It AIRQ 4 */
166 IQ_Dummy, /* AIRQ 5 */ 166 IQ_Dummy, /* AIRQ 5 */
167 #if 1 //(OP_L1_STANDALONE == 0) 167 #if CONFIG_INCLUDE_SIM //(OP_L1_STANDALONE == 0)
168 SIM_IntHandler, /* AIRQ 6 */ 168 SIM_IntHandler, /* AIRQ 6 */
169 #else 169 #else
170 IQ_Dummy, /* AIRQ 6 */ 170 IQ_Dummy, /* AIRQ 6 */
171 #endif 171 #endif
172 #if ((CHIPSET == 2) || (CHIPSET == 3)) 172 #if ((CHIPSET == 2) || (CHIPSET == 3))
269 IQ_Dummy, /* AIRQ 11 ULPD GAUGING */ 269 IQ_Dummy, /* AIRQ 11 ULPD GAUGING */
270 IQ_Dummy, /* AIRQ 12 */ 270 IQ_Dummy, /* AIRQ 12 */
271 IQ_Dummy, /* AIRQ 13 Spi Tx Rx interrupt */ 271 IQ_Dummy, /* AIRQ 13 Spi Tx Rx interrupt */
272 IQ_Dummy, /* DMA interrupt */ 272 IQ_Dummy, /* DMA interrupt */
273 IQ_Dummy, /* LEAD */ 273 IQ_Dummy, /* LEAD */
274 #if 1 //(OP_L1_STANDALONE == 0) 274 #if CONFIG_INCLUDE_SIM //(OP_L1_STANDALONE == 0)
275 SIM_CD_IntHandler, /* SIM card-detect fast interrupt */ 275 SIM_CD_IntHandler, /* SIM card-detect fast interrupt */
276 #else 276 #else
277 IQ_Dummy, /* SIM card-detect fast interrupt */ 277 IQ_Dummy, /* SIM card-detect fast interrupt */
278 #endif 278 #endif
279 IQ_Dummy, /* External fast interrupt */ 279 IQ_Dummy, /* External fast interrupt */