STRUCT STM32_ADC_REGS(9)
π struct stm32_adc_regs(9) β straight outta the Kernel API Manual β¨
okay bestie, gather round, because today we're looking at struct stm32_adc_regs, which is literally the little descriptor for stm32 ADC misc registers & bitfield desc π that's the whole vibe, that's the whole job.
πΈ NAME
struct stm32_adc_regs β stm32 ADC misc registers & bitfield desc π¦
β¨ SYNOPSIS
struct stm32_adc_regs {
int reg;
int mask;
int shift;
};
that's it. three ints. no cap, that's the entire struct and honestly? iconic minimalism π
π«Ά MEMBERS
regβ the register offset, like where the party's at πmaskβ the bitfield mask, aka which bits we're allowed to touch, respect the boundaries bestie πshiftβ the left shift, because sometimes your bits need a lil glow-up before they hit the big stage β¨
π SEE ALSO
so many friends in the group chat, fr fr π the kernel file is ./drivers/iio/adc/stm32-adc.c and it's hanging with:
struct stm32_adc_ic(9)struct stm32_adc_trig_info(9)struct stm32_adc_calib(9)struct stm32_adc_vrefint(9)struct stm32_adc_regspec(9)struct stm32_adc_cfg(9)struct stm32_adc(9)struct stm32_adc_info(9)stm32_adc_conv_irq_enable(9)stm32_adc_conv_irq_disable(9)stm32f4_adc_start_conv(9)stm32h7_adc_read_selfcalib(9)stm32h7_adc_restore_selfcalib(9)stm32h7_adc_selfcalib(9)stm32h7_adc_check_selfcalib(9)stm32h7_adc_prepare(9)stm32_adc_conf_scan_seq(9)stm32_adc_get_trig_extsel(9)stm32_adc_set_trig(9)stm32_adc_single_conv(9)stm32_adc_validate_trigger(9)stm32_adc_debugfs_reg_access(9)
like, the whole stm32 ADC squad is here and they all ate π₯
lowkey the entire source of truth lives in./drivers/iio/adcand this lil drop is dated October 2026 β go readstruct stm32_adc_regs(9)for yourself bestie, i'm obsessed π«Άπ
~~ xoxo, your fav kernel girly πβπ
π¦ 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