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
I'm wondering if the current implementation allows for a circular DMA transfer using multiple channels.
E.g. I basically want to convert this from blocking to circular DMA:
let a: u32 = self.adc.read(&mut self.pins.0).unwrap();
let b: u32 = self.adc.read(&mut self.pins.1).unwrap();
let c: u32 = self.adc.read(&mut self.pins.2).unwrap();
As I understand only one buffer can be nominated for the transfer, I would be happy if the solution could utilize some kind of round-robin sharing of one buffer - if that's feasible.
Any assistance appreciated, once again!
Thanks
The text was updated successfully, but these errors were encountered:
This sounds very useful, but I don't think it's supported currently. It would need a new version of the start_conversion_dma method to setup the ADC peripheral to setup round-robin sampling
I'm wondering if the current implementation allows for a circular DMA transfer using multiple channels.
E.g. I basically want to convert this from blocking to circular DMA:
As I understand only one buffer can be nominated for the transfer, I would be happy if the solution could utilize some kind of round-robin sharing of one buffer - if that's feasible.
Any assistance appreciated, once again!
Thanks
The text was updated successfully, but these errors were encountered: