STRUCT ADV7343_POWER_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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's 1..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