stm32f4_adc_start_conv(9)
β¨ NAME β¨
stm32f4_adc_start_conv β start conversions for regular channels. Yes bestie, this is the Kernel API Manual entry for stm32f4_adc_start_conv(9), and it is lowkey serving exactly what it says on the tin. π
π«Ά SYNOPSIS π«Ά
The signature, verbatim, because we do not play with code:
void stm32f4_adc_start_conv (struct iio_dev *indio_dev , bool dma );
π ARGUMENTS π
Okay so there are literally two arguments, and hereβs the tea:
indio_devβ IIO device instance. Thatβs the device, no cap. π«Άdmaβ use dma to transfer conversion result. The bool says whetherdmais carrying the conversion result. β¨
π DESCRIPTION π
Main character job: start conversions for regular channels. Periodt. π
It also takes care of normal or DMA mode. Circular DMA may be used for regular conversions, in IIO buffer modes. Thatβs the circular-DMA vibe when youβre in IIO buffer modes, iykyk. π
Otherwise, use ADC interrupt with direct DR read instead (e.g. read_raw, or triggered buffer mode without DMA). So when itβs not that DMA setup, the move is the ADC interrupt with a direct DR read instead β for example read_raw, or triggered buffer mode without DMA. Slay. π¦
π SEE ALSO π
The whole linked squad, because we do not gatekeep references: π
- Kernel file:
./drivers/iio/adc/stm32-adc.cβ the source file for this whole situation. - Struct crew:
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). - IRQ function besties:
stm32_adc_conv_irq_enable(9),stm32_adc_conv_irq_disable(9). - H7 selfcalib crew:
stm32h7_adc_read_selfcalib(9),stm32h7_adc_restore_selfcalib(9),stm32h7_adc_selfcalib(9),stm32h7_adc_check_selfcalib(9),stm32h7_adc_prepare(9). - The rest of the function lineup:
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).
mwah π β source/version is ./drivers/iio/adc, the date is October 2026, and this iconic little page is stm32f4_adc_start_conv(9). Thatβs the whole manual, bestie. π¦β¨
π¦ 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