David-OConnor / stm32-hal

This library provides access to STM32 peripherals in Rust.
MIT License
166 stars 44 forks source link

Can you provide a DMA example for boards that need to use dma::cfg_channel? #82

Closed seanybaggins closed 1 year ago

seanybaggins commented 1 year ago

Hi David,

Could you provide an example of how to use DMA when your only option is to use dma::cfg_channel? My board, the stm32l476, does not have access to the dma::mux function.

Any help would be deeply appreciated.

David-OConnor commented 1 year ago

You need to take no action, other than ensuring you're using the right channel. cfg_channel is internal