ds1685_rtc_read_alarm(9)
β¨ 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 tortc_wkalrmstructure. π
π¦ 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:
ds1685_read(9)ds1685_write(9)ds1685_indirect_read(9)ds1685_indirect_write(9)ds1685_rtc_bcd2bin(9)ds1685_rtc_bin2bcd(9)ds1685_rtc_check_mday(9)ds1685_rtc_switch_to_bank0(9)ds1685_rtc_switch_to_bank1(9)ds1685_rtc_begin_data_access(9)ds1685_rtc_end_data_access(9)ds1685_rtc_get_ssn(9)ds1685_rtc_read_time(9)ds1685_rtc_set_time(9)ds1685_rtc_set_alarm(9)ds1685_rtc_alarm_irq_enable(9)ds1685_rtc_extended_irq(9)ds1685_rtc_irq_handler(9)ds1685_rtc_proc(9)ds1685_rtc_sysfs_battery_show(9)ds1685_rtc_sysfs_auxbatt_show(9)ds1685_rtc_sysfs_serial_show(9)ds1685_rtc_probe(9)ds1685_rtc_remove(9)ds1685_rtc_poweroff(9)
xoxo bestie, this one's from ./drivers/rtc, October 2026 edition π
ππ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms