STRUCT ADV7343_POWER_MODE(9)
π struct adv7343_power_mode (9) π
okay so this is a page from the Kernel API Manual, and it's literally all about the struct adv7343_power_mode β aka the power mode configuration bestie. it's giving "small struct, big responsibilities" and we're gonna walk through it together, no cap π«Ά
β¨ SYNOPSIS β¨
here's the whole vibe, exactly as it lives in the header:
struct adv7343_power_mode {
bool sleep_mode;
bool pll_control;
u32 dac[6];
};
like look at her. three members. perfectly curated. main character energy fr fr π
π Members π
sleep_modeβ when you enable this one, the current consumption drops all the way down to micro ampere level π΄β¨ All the DACs and the internal PLL circuit get disabled. but the good news? registers can still be read from and written in sleep mode. so she's asleep but she's still listening, iykyk πpll_controlβ this is your PLL and oversampling control, okay? it lets the internal PLL 1 circuit be powered down, and it also lets you switch the oversampling off. two-for-one control moment π¦dacβ an array used to configure power on/off for DAC's1..6. yes, six of them. she's thorough πΈ
π Description π
so this whole struct maps to the power mode register (Register 0x0). and if you want the deep lore, go check the REGISTER MAP ACCESS section of the datasheet[1] β specifically table 17, page no 30 πβ¨
[1] http://www.analog.com/static/imported-files/data_sheets/ADV7342_7343.pdf
π SEE ALSO π
- Kernel file
./include/media/i2c/adv7343.h struct adv7343_sd_config(9)struct adv7343_platform_data(9)
π real talk bestie: the datasheet is your friend here. don't be out here guessing at register bits when table 17 is right there waiting for you π
and that's the whole page, periodt π this cutie lives in ./include/media/i2c, dated October 2026 β and the title of the whole thing was struct adv7343_power_mode(9) from the Kernel API Manual, in case you forgot already ππ go forth and configure those DACs, queen πβ
π¦ 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