STRUCT STM32_ADC_CALIB(9)
π struct stm32_adc_calib(9) π
okay so welcome to the Kernel API Manual, bestie β section 9, the big-girl section. today's main character is struct stm32_adc_calib, and no cap, she's a lil cutie with a big job. let's get into it π«Ά
β¨ NAME β¨
struct stm32_adc_calib β optional adc calibration data. that's it, that's the vibe. she's optional, she's calibration, she's data π
π¦ SYNOPSIS π¦
like, here's exactly what she looks like:
struct stm32_adc_calib {
u32 lincalfact[STM32H7_LINCALFACT_NUM];
bool lincal_saved;
};
two members, zero drama. she ate and left no crumbs β¨
π MEMBERS π
π lincalfact
Linearity calibration factor. it's a u32 array sized STM32H7_LINCALFACT_NUM, and it's literally holding the linearity calibration factors β that's the whole assignment, iykyk π₯
πΈ lincal_saved
Indicates that linear calibration factors are saved. a humble bool doing the most important job: telling everyone the factors are safely tucked in πβ¨
π SEE ALSO π
go read the kernel file ./drivers/iio/adc/stm32-adc.c first, fr fr β that's the source of truth. and then the whole friend group:
struct stm32_adc_ic(9)struct stm32_adc_trig_info(9)struct stm32_adc_regs(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 squad is here. no one's left out, periodt π
and that's the page, bestie!! π§ this little icon lives in ./drivers/iio/adc, she's stamped October 2026, and she answers to the name struct stm32_adc_calib(9) β go forth and calibrate responsibly ππβ
π¦ 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