FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/niq32.c @ 162:595192258bc9
gsm-fw: RTC SWE enabled
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 18 Nov 2013 00:52:05 +0000 |
parents | afceeeb2cba1 |
children | 98c6be4d3d8d |
comparison
equal
deleted
inserted
replaced
161:98be4841eeb7 | 162:595192258bc9 |
---|---|
32 #include "iq.h" | 32 #include "iq.h" |
33 #include "ulpd.h" | 33 #include "ulpd.h" |
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 | 38 |
38 #if 0 | 39 #if 0 |
39 | 40 |
40 /* original maze of includes */ | 41 /* original maze of includes */ |
41 | 42 |
372 /* Functionality : Handle RTC Time interrupts */ | 373 /* Functionality : Handle RTC Time interrupts */ |
373 /*--------------------------------------------------------------*/ | 374 /*--------------------------------------------------------------*/ |
374 | 375 |
375 void IQ_Rtc_Handler(void) | 376 void IQ_Rtc_Handler(void) |
376 { | 377 { |
377 #if 0 //(OP_L1_STANDALONE == 0) | 378 #if CONFIG_GSM //(OP_L1_STANDALONE == 0) |
378 RTC_ItTimerHandle(); | 379 RTC_ItTimerHandle(); |
379 #endif | 380 #endif |
380 } | 381 } |
381 | 382 |
382 /*--------------------------------------------------------------*/ | 383 /*--------------------------------------------------------------*/ |
388 /*--------------------------------------------------------------*/ | 389 /*--------------------------------------------------------------*/ |
389 | 390 |
390 #if ((CHIPSET == 4) || (CHIPSET == 5) || (CHIPSET == 6) || (CHIPSET == 7) || (CHIPSET == 8) || (CHIPSET == 9) || (CHIPSET == 10) || (CHIPSET == 11) || (CHIPSET == 12)) | 391 #if ((CHIPSET == 4) || (CHIPSET == 5) || (CHIPSET == 6) || (CHIPSET == 7) || (CHIPSET == 8) || (CHIPSET == 9) || (CHIPSET == 10) || (CHIPSET == 11) || (CHIPSET == 12)) |
391 void IQ_RtcA_Handler(void) | 392 void IQ_RtcA_Handler(void) |
392 { | 393 { |
393 #if 0 //(OP_L1_STANDALONE == 0) | 394 #if 1 //(OP_L1_STANDALONE == 0) |
394 /* INTH_DISABLEONEIT(IQ_RTC_ALARM); *//* RTC ALARM IT */ | 395 /* INTH_DISABLEONEIT(IQ_RTC_ALARM); *//* RTC ALARM IT */ |
395 if ( (* (SYS_WORD8 *) RTC_STATUS_REG) & RTC_ALARM ) | 396 if ( (* (SYS_WORD8 *) RTC_STATUS_REG) & RTC_ALARM ) |
396 RTC_ItAlarmHandle(); | 397 RTC_ItAlarmHandle(); |
397 #endif | 398 #endif |
398 } | 399 } |