RTC time keeping

alenze's picture
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Type: 

Compiler/Assembler: 

Assembly language (& enhanced) version of "AVR134 - RTC using asyncronuous timer". Function uses 79/93 words (as compared to 204 words needed by the C-compiler variant) and provides day-of-the-week book-keeping, too. Assembly code to correctly set-up 32KHz timer included Updated: optionally *full* leap year support (up to judgement day). Updated 07-19-02: added functions for manual /GPS clock setup (perpetual calendar etc.) Updated 01-07-05: fixed week-# algo in perpetual calendar

Attachment(s):