3 ms·
I'll just chime and and say it'd be a lot feaking easier if hardware engineers provided a register that counts ticks of the 32.768khz clock. The MM:DD:YY HH:MM
by Gibbon1 5y ago
I'll just chime and and say it'd be a lot feaking easier if hardware engineers provided a register that counts ticks of the 32.768khz clock.
The MM:DD:YY HH:MM:SS 1/256 ticks format is unhelpful and annoying 99.9999% of the time. And is a source of bugs.
- marcan_42 5y agoSome RTCs do work with a simple counter like that. This calendar nonsense is basically cargo cult from the early IBM PC days. But hardware engineers rarely talk to software engineers, and these IP blocks were designed decades ago and people don't want to touch them...
- nousermane 5y ago...and IBM PC RTC chip (Motorola MC146818) cargo-culted that format from HP98035 clock module. That latter was literally a wrist-watch chip (TI AC5954N), surrounded by logic/microcontroller that programmatically "pressed" buttons and "read back" display digits. CuriousMark did a video about it: https://www.youtube.com/watch?v=pr6HTiWrMmk https://www.youtube.com/watch?v=pr6HTiWrMmk
- pantalaimon 5y agoSometimes you can get both. The full RTC is useful if want to do alarms at the first day of a month or so, but yea - those are niece cases.
- deleted 5y ago[deleted]