Skip to content
This repository has been archived by the owner on Dec 6, 2018. It is now read-only.

Implement stm32 ADC continious mode #200

Open
1 task
forGGe opened this issue Jan 1, 2017 · 0 comments
Open
1 task

Implement stm32 ADC continious mode #200

forGGe opened this issue Jan 1, 2017 · 0 comments

Comments

@forGGe
Copy link
Collaborator

forGGe commented Jan 1, 2017

According to the ADC app note (see section 1.3
Single-channel continuous conversion mode) and stm32 RM there is a operation mode when new conversion will start immediately after end of previous one.

Support of this mode must be implemented in the stm32 ADC driver and exposed as additional ADC methods, smth like void start(handler &) and stop() that will start or stop continuous conversions.

Following rules apply:

  • If external trigger is used, then each new conversion series should start as soon as trigger hit.
  • If external trigger is used and special parameter (start align mode) is set, then then 1st conversion series will start when trigger hit and any consequent conversion series should start immediately after previous conversion have been completed.
  • If software trigger is used, then 1st conversion series will start during start() call, any consequent conversion series should start immediately after 1st conversion completed.
  • Handler must be called at the end of each conversion series. Half-complete events are useful too.

Requires:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant