STRUCT AD5421_PLATFORM_DATA(9)
π struct ad5421_platform_data(9) π
okay bestie, so this is a page straight out of the Kernel API Manual β yes, that Kernel API Manual β and it's all about one tiny little struct. not the flashiest main character in the kernel, but she's doing her job and we respect her π«Ά
β¨ NAME β¨
struct ad5421_platform_data β the platform data for the AD5421 DAC driver, and honestly? she's giving "small but essential". no cap.
πΈ SYNOPSIS πΈ
here's the whole vibe, verbatim, don't touch a single character:
struct ad5421_platform_data {
bool external_vref;
enum ad5421_current_range current_range;
};
like, that's it. that's the whole struct. two fields. she's lowkey minimalist and I'm obsessed π
π Members π
okay so let's meet the cast, member by member:
external_vrefβ aboolthat tells you whether an external reference voltage is used or not. literally just a yes-or-no situation. is there an external ref? true or false, bestie, no in-between πcurrent_rangeβ this one's anenum ad5421_current_range, and it's the current range that the AD5421 is configured for. so she's holding the range info. icon behavior β¨
π¦ SEE ALSO π¦
- Kernel file
./include/linux/iio/dac/ad5421.hβ go read the header, iykyk π enum ad5421_current_range(9)β the enum behind thecurrent_rangemember, slay π
that's the whole page, bestie β short, sweet, and every single fact intact. go forth and configure your AD5421 with confidence π§π
source: ./include/linux/iio/dac Β· October 2026 Β· struct ad5421_platform_data(9) β mwah, that's a wrap, see u in the next manpage πβ
π¦ 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