stm32f4_adc_start_conv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 whether dma is 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: πŸ‘‘


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