STRUCT STM32H7_ADC_CK_SPEC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct stm32h7_adc_ck_spec(9) πŸ’…

okay bestie, welcome to the Kernel API Manual, this one's all about struct stm32h7_adc_ck_spec β€” no cap, it's literally the spec sheet for the stm32h7 adc clock. yes it sounds intimidating. no it's not. let's get into it 🫢


✨ NAME ✨

struct stm32h7_adc_ck_spec β€” specification for stm32h7 adc clock 🌸

like, the whole personality of this thing is: "here's how the clock gets configured." that's it, that's the vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

struct stm32h7_adc_ck_spec {
    u32 ckmode;
    u32 presc;
    int div;
 };

look at her. three little fields. absolute main character energy πŸ‘‘


πŸŽ€ Members πŸŽ€

  • ckmode β€” the ADC clock mode, bestie ✨ it's either Async or sync with prescaler. that's the whole choice, pick your fighter πŸ’…
  • presc β€” the prescaler bitfield for async clock mode 🌈 yes it's a bitfield, yes it's only for async mode, iykyk
  • div β€” the prescaler division ratio πŸ“ the number that does the dividing, iconic behaviour honestly

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/iio/adc/stm32-adc-core.c β€” this is where the lore lives fr fr
  • struct stm32_adc_common_regs(9)
  • struct stm32_adc_priv_cfg(9)
  • struct stm32_adc_priv(9)
  • stm32f4_adc_clk_sel(9)

ngl, if you're poking around in here you're probably deep in ./drivers/iio/adc territory already. go check the SEE ALSOs, they're all connected, it's giving lore-accurate universe 🧚

and that's the page babes πŸ’– this came out of ./drivers/iio/adc, dated October 2026, and it's filed under struct stm32h7_adc_ck_spec(9) β€” go forth and configure clocks, you've got this πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from