implement mwe of a DMA write() method for DAC

This commit is contained in:
JuliDi
2023-06-17 11:48:21 +02:00
parent ec36225f8a
commit f5d084552d
2 changed files with 71 additions and 7 deletions

View File

@ -699,6 +699,8 @@ fn main() {
// SDMMCv1 uses the same channel for both directions, so just implement for RX
(("sdmmc", "RX"), quote!(crate::sdmmc::SdmmcDma)),
(("quadspi", "QUADSPI"), quote!(crate::qspi::QuadDma)),
(("dac", "CH1"), quote!(crate::dac::Dma)),
(("dac", "CH2"), quote!(crate::dac::Dma)),
]
.into();