You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It won't work however, as ADC conversion needs to be enabled just after the DMA channel has been setup, so it seems it needs to be done inside the start() (in single_buffer::Config) function. What would be the best way to achieve this, i.e. add device-specific 'actions' inside the single_buffer::Config? Does it require significant changes to the single_buffer traits? I guess it relates to this comment.
The text was updated successfully, but these errors were encountered:
I'm trying to add basic ADC DMA capture. I've added
ReadTarget
for ADC like so:The following code compiles now:
It won't work however, as ADC conversion needs to be enabled just after the DMA channel has been setup, so it seems it needs to be done inside the
start()
(in single_buffer::Config) function. What would be the best way to achieve this, i.e. add device-specific 'actions' inside the single_buffer::Config? Does it require significant changes to the single_buffer traits? I guess it relates to this comment.The text was updated successfully, but these errors were encountered: