STRUCT AD5791_PLATFORM_DATA(9)
π struct ad5791_platform_data(9) π
okay bestie, so this is a page from the Kernel API Manual β yes, that Kernel API Manual β and it's all about struct ad5791_platform_data, the little bundle of platform specific information you hand over so the AD5791 driver knows what's up. she's small, she's tidy, she's giving "three fields and a dream" energy β¨
πΈ NAME πΈ
struct ad5791_platform_data β platform specific information
like, literally just the platform-specific deets. that's the whole vibe check. π«Ά
π¦ SYNOPSIS π¦
struct ad5791_platform_data {
u16 vref_pos_mv;
u16 vref_neg_mv;
bool use_rbuf_gain2;
};
three members, no cap. here's the tea on each one π
π Members π
vref_pos_mvβ Vdd Positive Analog Supply Volatge (mV). yeah, the source spells it "Volatge" π β we're keeping it, it's iconic, we don't gatekeep typos here. it's au16and it's in millivolts, periodt.vref_neg_mvβ Vdd Negative Analog Supply Volatge (mV). the negative twin π same deal:u16, millivolts, matching energy.use_rbuf_gain2β ext. amplifier connected in gain of two configuration. it's abool, so it's a yes/no slay: flip it when your external amp is wired up in that gain-of-two setup. π₯
ngl, all three of these are exactly what the driver gets handed at probe time β nothing more, nothing less. don't go inventing fields, bestie, she has a strict guest list π
π SEE ALSO π
- Kernel file
./include/linux/iio/dac/ad5791.hβ go read the header, it's the main character of this whole situation π
and that's the whole page, bestie!! shipped from ./include/linux/iio/dac, dated October 2026, and yes the page itself is titled struct ad5791_platform_data(9) β she said "put my name on it" and honestly? deserved. ππ¦πβ¨π
π¦ 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