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
Add support for continous conversions to ADC #86
Merged
Merged
Commits on Mar 24, 2020
-
-
This is going to be useful to implement continuous or asynchronous one-shot modes.
-
-
-
-
`AdcExt` was mixed in between the `Adc` `impl` blocks.
-
Move ADC configuration to dedicated method
I'm working on implementing other means of reading ADC values, so being able to reuse this method will be useful.
-
This doesn't do anything in itself, as the ADC API is currently not making use of this.
-
Add some crate-public methods that are useful when working with circular DMA transfers.
-
Add API for continuous conversions
Without support for hardware triggers, this API is of limited use, as it's basically impossible to process the as fast as the ADC and DMA are producing it. Still, this puts in place a lot of infrastructure, and can be extended to become more useful.
-
Commits on Mar 25, 2020
-
-
-
Write ADC configuration instead of modifying it
This change guards against some unexpected leftover configuration from earlier interferring with the desired operation of the ADC.
-
-
-
-
-
Commits on Mar 26, 2020
-
Restrict
adc_multi
example to STM32L0x2It doesn't compile on the other targets.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.