ENUM AD7793_CURRENT_SOURCE_DIRECTION(9)
π 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 sourceIEXC1connected to pinIOUT1, and current sourceIEXC2connected to pinIOUT2. classic. balanced. the default-friend-group energy πAD7793_IEXEC1_IOUT2_IEXC2_IOUT1β plot twist!! current sourceIEXC2connected to pinIOUT1, and current sourceIEXC1connected to pinIOUT2. yes, they swapped, that's literally the whole point πAD7793_IEXEC1_IEXEC2_IOUT1β both current sources connected to pinIOUT1. they're both going to the same place, that's giving codependent π«Ά. Only valid when the current sources are set to10 uAor210 uA. so like. check that first. please πAD7793_IEXEC1_IEXEC2_IOUT2β both current sources connected to pinIOUT2. same situation, other pin. Only valid when the current sources are set to10 uAor210 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
- 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