STRUCT AD5421_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ 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 β€” a bool that 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 an enum 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 the current_range member, 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