Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: real time clock

2006-03-07 by unity0724

Umm...  Why not just setup the second tick interrupt from RTC??
Store/Update Time/Date value every second to somewhere.

Background task (Non-ISR code) remembers to disable interrupt
when reading the Time/Date data structure..    Help??  :)

--- In lpc2000@yahoogroups.com, "ebarker123" <ebarker123@...> wrote:
> A workaround is to run a sub-second timer routine that reads the
> second counter, waiting for it to increment, then you can read the
> rest of the consolidated registers without fear of rollover.
> 
> ebarker123

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.