Checkpoint DMAMUX channel setup.

This commit is contained in:
Bob McWhirter
2021-07-02 09:54:31 -04:00
parent 91521a86a0
commit 043f0ea508
4 changed files with 190 additions and 5 deletions

View File

@ -57,7 +57,7 @@ impl<'d, T: Instance> Uart<'d, T> {
}
}
#[cfg(dma)]
#[cfg(any(dma, dmamux))]
pub async fn write_dma(&mut self, ch: &mut impl TxDma<T>, buffer: &[u8]) -> Result<(), Error> {
unsafe {
self.inner.regs().cr3().modify(|reg| {