-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Rework regular conversion to allow use with external trigger and avoid reconfiguration for each sample #4786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit d1ac54a.
…trigger for break input
…tput_idle_state to accept channel iterator as input
…mode_injected_sampling
…nfiguring of DMA and adc channels for each read
…g RingBuffer for regular conversions.
…le to use it as trigger source for ADC measurements
…ethod for more flexibility.
…ar_and_injected_adc
|
The first question I have is how the regular conversion differs from the readable ringbuffer that I have implemented. If injected conversions were not a factor, would that be sufficient? |
Yes, thanks for highlighting. It seems to cover my needs for the regular channels. I will scrap this PR and open a new one based on the RingBuffer module instead: #4840 |
This PR is based on the changes in #4243 which introduces configuration of injected ADC measurements. This PR expands the ADC module for STM32 g4 processors to support both injected and regular ADC conversions.
read()method as it was for backwards compatibility