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.
@pedvide and @mjs513 -
This Branch has support for a DMA object that supports either round robin of two buffers or a single buffer that stops when full and you can manually restart.
Also the branch has Timer support to T4 using QTimer.
There are 4 new examples in this branch:
adc_dma - Does DMA operation, this uses the two buffer mode in continuous mode. And runs on LC, 3.x and 4.0
adc_timer - like adc_pdb but runs on both T3.x and T4. Also has an additional command T that fills a buffer and prints out details.. uses ISRs no DMA
adc_timer_dma - sort of combines the two. Instead of using ISR it uses DMA...
adc_time_dma_oneshot - like above, but instead of round robin it runs once, and prints out values and waits for you to type something and it runs again...
Let me know what you think