stm32_adc_validate_trigger(9)
π stm32_adc_validate_trigger(9)
okay so this is from the Kernel API Manual, bestie β kernel-land, driversville, the whole vibe. Let's get into it π«Ά
β¨ NAME β¨
stm32_adc_validate_trigger β literally just validating a trigger for the stm32 adc. that's the whole job. it's giving quality control inspector π
πΈ SYNOPSIS πΈ
int stm32_adc_validate_trigger (struct iio_dev *indio_dev , struct
iio_trigger *trig );
π¦ ARGUMENTS π¦
indio_devβ the IIO device, aka the main character of this operation πtrigβ the new trigger, the fresh arrival, the one we're about to vibe check π₯
β RETURN β
returns 0 if trig matches one of the triggers registered by the stm32 adc driver β like, congrats, it's one of ours, slay π
returns -EINVAL otherwise. not one of ours? not our problem. blocked. π
π§ SEE ALSO π§
kernel file ./drivers/iio/adc/stm32-adc.c β and honestly the whole friend group of structs and functions, no cap:
struct stm32_adc_ic(9)struct stm32_adc_trig_info(9)struct stm32_adc_calib(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_debugfs_reg_access(9)
like, the entire extended universe. read them all, iykyk π
and that's the page!! brought to you by the lovely humans at ./drivers/iio/adc, dated October 2026 β periodt, mwah π
β¨π
π¦ 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