Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > Embedded

Writing bulletproof real-time clock control code

Posted: 16 Jun 2014 ?? ?Print Version ?Bookmark and Share

Keywords:real-time clock? microprocessor? device initialisation? code sequencing? timekeeping?

When we read a clock, as we have all done since childhood, our eyes 'take a snapshot' of the present displayed values.

Someone has already gone through the effort to reorient that display for your readability. When the microprocessor needs to access the real-time clock, the 'snapshot' of the latest register values must be reoriented into a sequence of time counts that we are more familiar with.

With the use of proper device initialisation and code sequencing, accurate timekeeping and clock alarm operations become a more manageable task.

View the PDF document for more information.

Originally published by Maxim Integrated Products Inc. at as "Tips for Writing Bulletproof Real-Time Clock Control Code".

Article Comments - Writing bulletproof real-time clock ...
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top