ENUM AD5421_CURRENT_RANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum ad5421_current_range(9) πŸ’–

okay so hiii bestie, welcome to the Kernel API Manual ✨ β€” this page is literally about the current range the AD5421 is configured for. no cap, that’s the whole vibe. 🫢


πŸŽ€ NAME πŸŽ€

enum ad5421_current_range β€” Current range the AD5421 is configured for. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

enum ad5421_current_range {
    AD5421_CURRENT_RANGE_4mA_20mA ,
    AD5421_CURRENT_RANGE_3mA8_21mA ,
    AD5421_CURRENT_RANGE_3mA2_24mA

};

✨ Constants ✨

okay so these are the enum constants, and each one is lowkey iconic in its own way:

  • AD5421_CURRENT_RANGE_4mA_20mA β€” 4 mA to 20 mA (RANGE1,0 pins = 00)
  • AD5421_CURRENT_RANGE_3mA8_21mA β€” 3.8 mA to 21 mA (RANGE1,0 pins = x1)
  • AD5421_CURRENT_RANGE_3mA2_24mA β€” 3.2 mA to 24 mA (RANGE1,0 pins = 10)

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/iio/dac/ad5421.h struct ad5421_platform_data(9)

xoxo, your kernel bestie πŸ’… β€” source/version: ./include/linux/iio/dac, date: October 2026, and the page is enum ad5421_current_range(9), iykyk 🫢

πŸ“¦ where this page comes from