On Friday 30 March 2012 16:07:41, I wrote: > Actually the variable can be 32-bit: rtc_rate is in kHz, so the > computation would wrap around for an RTC clock of over 40 GHz and I'm > sure that is far more than the hardware supports. Correction: rtc_rate is in Hz, therefore the computation would wrap around at 40 MHz, but that's likely still far more than the hardware supports. The typical RTC clock value is 32 kHz. Bye, Maarten