Projekt

Allgemein

Profil

Aktionen

RTC

Various options:

  • RTC holds UTC, localtime calculations are done in SW
    • Good for sensemux. Timestamps needed.
    • libc functions can be covered
  • RTC holds localtime, DST is stored in RTC. SW handles transitions.
    • Good for CANDis, print time directly. But setting via CAN is anoying.
    • libc hard to cover; localToUtc needed.
  • RTC holds localtime, DST not handled.
    • Thats how my clocks work

->

  • cordyceps need 2 further objects
    • setTimeUtc, setTimeLocal
    • setDateUtc, setDateLocal

Von Maximilian Seesslen vor 2 Monaten aktualisiert · 2 Revisionen