STRUCT STM32H7_ADC_CK_SPEC(9)
π 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, iykykdivβ 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
- 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