ds1685_rtc_read_alarm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ds1685_rtc_read_alarm(9) β€” Kernel API Manual ✨

okay bestie, this is the page for ds1685_rtc_read_alarm from the Kernel API Manual, and it's literally all about reading the alarm registers. group-chat huddle time πŸ’–


🌸 NAME 🌸

ds1685_rtc_read_alarm β€” reads the alarm registers. periodt. πŸ’…

πŸ’« SYNOPSIS πŸ’«

int ds1685_rtc_read_alarm (struct device *dev , struct rtc_wkalrm *alrm
);

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” pointer to device structure. 🫢
  • alrm β€” pointer to rtc_wkalrm structure. 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

so there are three primary alarm registers: seconds, minutes, and hours. iconic trio, no cap. ⏰✨

there's also a fourth alarm register for the month date, and it's available in bank1 for kickstart/wakeup features. main character energy in a whole extra register, honestly. πŸŽ€

the DS1685/DS1687 manual states that a "don't care" value ranging from 0xc0 to 0xff may be written into one or more of the three alarm bytes to act as a wildcard value. yup, wildcard vibes are supported there. 🌈

heads up bestie: the fourth byte doesn't support a "don't care" value. that one is not invited to the wildcard party. πŸš«πŸ’€

🌈 SEE ALSO 🌈

the Kernel file is ./drivers/rtc/rtc-ds1685.c, and the whole friend group is:


xoxo bestie, this one's from ./drivers/rtc, October 2026 edition πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from