Replies: 1 comment 4 replies
-
Pinging @anangl again. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@anangl @erwango @henrikbrixandersen @yonsch
See this issue #39640
See this branch https://github.com/worldcoin/zephyr/tree/stm32_adc_dma
I would like to see a change to the public API of ADC to include some way to do continuous sampling. I intend this to be implemented with IRQs (if slow continuous sampling is what you want) or with DMA. I see this interface taking a buffer and calling some callback function when the provided buffer is 1/2 full.
I see three ways to go about this.
adc_sequence_options
to accept a callback function, which means that one wants to use continuous mode.Please give your thoughts here. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions