ENUM AD7793_CURRENT_SOURCE_DIRECTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ad7793_current_source_direction πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for enum ad7793_current_source_direction, which is literally the AD7793 excitation current direction. we're talking about which way the current sources get wired to which pins πŸŽ€


🌸 NAME 🌸

enum ad7793_current_source_direction β€” AD7793 excitation current direction. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

enum ad7793_current_source_direction {
    AD7793_IEXEC1_IOUT1_IEXEC2_IOUT2 ,
    AD7793_IEXEC1_IOUT2_IEXC2_IOUT1 ,
    AD7793_IEXEC1_IEXEC2_IOUT1 ,
    AD7793_IEXEC1_IEXEC2_IOUT2

};

no cap, that's the whole enum. four constants, all main character energy πŸ‘‘


🫢 Constants 🫢

okay so these are the four options and you have to pick one, no mixing and matching:

  • AD7793_IEXEC1_IOUT1_IEXEC2_IOUT2 β€” current source IEXC1 connected to pin IOUT1, and current source IEXC2 connected to pin IOUT2. classic. balanced. the default-friend-group energy πŸ’–
  • AD7793_IEXEC1_IOUT2_IEXC2_IOUT1 β€” plot twist!! current source IEXC2 connected to pin IOUT1, and current source IEXC1 connected to pin IOUT2. yes, they swapped, that's literally the whole point πŸ™ˆ
  • AD7793_IEXEC1_IEXEC2_IOUT1 β€” both current sources connected to pin IOUT1. they're both going to the same place, that's giving codependent 🫢. Only valid when the current sources are set to 10 uA or 210 uA. so like. check that first. please πŸ’€
  • AD7793_IEXEC1_IEXEC2_IOUT2 β€” both current sources connected to pin IOUT2. same situation, other pin. Only valid when the current sources are set to 10 uA or 210 uA. ⭐
⚠️ bestie pls read the last two again β€” that "only valid" clause is not a suggestion, it's a vibe check and you can fail it 😭

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/platform_data/ad7793.h
  • enum ad7793_clock_source(9)
  • enum ad7793_bias_voltage(9)
  • enum ad7793_refsel(9)
  • enum ad7793_excitation_current(9)
  • struct ad7793_platform_data(9)

like honestly go read those too, they're all in their lore era together πŸ”₯


and that's the page, bestie!! πŸ’œ this lil beauty lives at ./include/linux/platform_data, it's from the Kernel API Manual, dated October 2026 β€” periodt, go wire up some current sources responsibly, ily, bye πŸ§šπŸŒˆπŸŽ€

πŸ“¦ where this page comes from