rx6110_set_time(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

hey bestie, welcome to rx6110_set_time(9) from the Kernel API Manual β€” this is the function that puts the current date and time into the rx6110’s registers ✨

🌸 SYNOPSIS 🌸

int rx6110_set_time (struct device *dev , struct rtc_time *tm );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the rtc device that’s in use for this whole situation 🫢
  • tm β€” carries the date and time you’re handing over πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the plot twist, and it’s a BUG bestie 😭 the hardware (HW) assumes every year that is a multiple of 4 is a leap year. the next time that assumption is wrong is 2100, because 2100 will not be a leap year πŸ’€

πŸ“ NOTE πŸ“

here’s the tea: if STOP is not set/cleared, the clock will start when the seconds register is written πŸ‘€ don’t say I didn’t warn you 🫢

πŸ‘€ SEE ALSO πŸ‘€


kisses and sparkles from source/version ./drivers/rtc πŸ’Œ dated October 2026 πŸ’…βœ¨

πŸ“¦ where this page comes from