ds1685_indirect_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ds1685_indirect_read β€” bestie, this is the little guy that reads a value from an rtc register πŸ’–

Yeah so we're in the Kernel API Manual today, and this is his moment. Periodt.


πŸŽ€ SYNOPSIS πŸŽ€

u8 ds1685_indirect_read (struct ds1685_priv *rtc , int reg );

Like, that's the whole vibe. It takes two things and hands you back a u8. Iconic.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rtc β€” a pointer to the ds1685 rtc structure. Yes bestie, the structure. The one with all the lore. You gotta hand him the actual struct ds1685_priv * or he literally cannot function 😭
  • reg β€” the register address to read. That's the spot you're snooping on. Give him the address, he goes and gets the tea πŸ“
Lowkey the whole job is "tell me where, I'll tell you what's there." Fr fr. No cap. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Everything is family here, so let's shout out the whole crew 🫢 The Kernel file lives at ./drivers/rtc/rtc-ds1685.c, and these are all the cousins:


Okay that's the whole page, you ate that πŸ’…βœ¨

Little sign-off from the source, since you gotta cite your sources bestie: this one comes from ./drivers/rtc, dated October 2026. Slay πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from