RTC » Historie » Version 2
Maximilian Seesslen, 18.11.2024 13:12
1 | 1 | Maximilian Seesslen | h1. RTC |
---|---|---|---|
2 | |||
3 | Various options: |
||
4 | |||
5 | * RTC holds UTC, localtime calculations are done in SW |
||
6 | 2 | Maximilian Seesslen | ** Good for sensemux. Timestamps needed. |
7 | ** libc functions can be covered |
||
8 | |||
9 | * RTC holds localtime, DST is stored in RTC. SW handles transitions. |
||
10 | ** Good for CANDis, print time directly. But setting via CAN is anoying. |
||
11 | ** libc hard to cover; localToUtc needed. |
||
12 | |||
13 | * RTC holds localtime, DST not handled. |
||
14 | ** Thats how my clocks work |
||
15 | |||
16 | -> |
||
17 | |||
18 | * cordyceps need 2 further objects |
||
19 | ** setTimeUtc, setTimeLocal |
||
20 | ** setDateUtc, setDateLocal |