[En-Nut-Discussion] Synching Calldirect using NutOS

Fahad G. Fahad.Gilani at anu.edu.au
Tue Oct 14 04:08:08 CEST 2003


Hi Oliver,

If you don't mind my asking you, could I have a copy of this code as well? I
need to do something similar and it would help me much if you could share
your code with me. Thanks.

Cheers,

Fahad

-----Original Message-----
From: en-nut-discussion-admin at egnite.de
[mailto:en-nut-discussion-admin at egnite.de] On Behalf Of Oliver Schulz
Sent: Tuesday, October 14, 2003 12:17 AM
To: en-nut-discussion at egnite.de
Subject: AW: [En-Nut-Discussion] Synching Calldirect using NutOS

Hi All,

Last weekend I wrote some code to get something similar like a RTC... 
It's based on the standard (or just MS?) C struct '_tm' and uses the
timer0 interrupt to update the "current" time and date on a per second
base.
Included leap year and day of week calculation.

If Harald is interested, perhaps it can be added to the Nut/OS. Please
let me know!

Oliver.





More information about the En-Nut-Discussion mailing list