Skip to content
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 20 commits into from Mar 27, 2020
Merged

Add support for continous conversions to ADC #86

merged 20 commits into from Mar 27, 2020

Commits on Mar 24, 2020

  1. Copy the full SHA
    41f04e8 View commit details
    Browse the repository at this point in the history
  2. Add type state to Adc

    This is going to be useful to implement continuous or asynchronous
    one-shot modes.
    hannobraun committed Mar 24, 2020
    Copy the full SHA
    aa37921 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    dc6dc6d View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    375e845 View commit details
    Browse the repository at this point in the history
  5. Consolidate imports

    hannobraun committed Mar 24, 2020
    Copy the full SHA
    f47d625 View commit details
    Browse the repository at this point in the history
  6. Reorder code

    `AdcExt` was mixed in between the `Adc` `impl` blocks.
    hannobraun committed Mar 24, 2020
    Copy the full SHA
    fbf4ffb View commit details
    Browse the repository at this point in the history
  7. 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.
    hannobraun committed Mar 24, 2020
    Copy the full SHA
    972f53a View commit details
    Browse the repository at this point in the history
  8. Add ADC support to DMA API

    This doesn't do anything in itself, as the ADC API is currently not
    making use of this.
    hannobraun committed Mar 24, 2020
    Copy the full SHA
    c927a05 View commit details
    Browse the repository at this point in the history
  9. Extend API of dma::Transfer

    Add some crate-public methods that are useful when working with circular
    DMA transfers.
    hannobraun committed Mar 24, 2020
    Copy the full SHA
    90c3fba View commit details
    Browse the repository at this point in the history
  10. 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.
    hannobraun committed Mar 24, 2020
    Copy the full SHA
    3e2437b View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    cfc84ff View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Fix warning

    hannobraun committed Mar 25, 2020
    Copy the full SHA
    d71389b View commit details
    Browse the repository at this point in the history
  2. Remove outdated comment

    hannobraun committed Mar 25, 2020
    Copy the full SHA
    79cfc92 View commit details
    Browse the repository at this point in the history
  3. 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.
    hannobraun committed Mar 25, 2020
    Copy the full SHA
    e138a62 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e2ddb4b View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    8256fbe View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    2de82e3 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    f359dd3 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    3416705 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Restrict adc_multi example to STM32L0x2

    It doesn't compile on the other targets.
    hannobraun committed Mar 26, 2020
    Copy the full SHA
    322378f View commit details
    Browse the repository at this point in the history