--- a/kerneltest/e32test/system/d_tick.cpp Thu Aug 19 11:14:22 2010 +0300
+++ b/kerneltest/e32test/system/d_tick.cpp Tue Aug 31 16:34:26 2010 +0300
@@ -224,6 +224,15 @@
x /= TUint64(f);
return (TUint)x;
#endif
+#if defined(__MRAP__)
+ // RTC runs with 32.768 kHz -> one tick is
+ const TUint KRTCClockHz = 32768;
+ Int64 ticks(aTicks);
+ ticks*=(1000000);
+ ticks+=KRTCClockHz/2; // 32.768 kHz tick
+ ticks/=KRTCClockHz;
+ return (TInt)ticks;
+#endif
#if defined(__MAWD__) || defined(__MEIG__)
return aTicks*500; // 2kHz tick
#endif
@@ -602,6 +611,9 @@
#if defined(__NE1_TB__)
// nothing to do since we use fast counter
#endif
+#if defined(__MRAP__)
+ // nothing to do here RTC runs with 32.768 kHz
+#endif
#ifdef __MAWD__
// Set up timer 1 as free running 2kHz clock
TWind::SetBuzzerControl(0); // disable buzzer