Add a non-minc write() to DMA which takes a count.

Use it from "read-only" SPI.
This commit is contained in:
Bob McWhirter
2021-07-20 15:20:16 -04:00
parent 7bbad4c4e5
commit 4c5a234a3a
5 changed files with 117 additions and 9 deletions

View File

@ -1,7 +1,7 @@
#![macro_use]
#[cfg_attr(spi_v1, path = "v1.rs")]
#[cfg_attr(spi_v2, path = "v2.rs")]
//#[cfg_attr(spi_v1, path = "v1.rs")]
//#[cfg_attr(spi_v2, path = "v2.rs")]
#[cfg_attr(spi_v3, path = "v3.rs")]
mod _version;
use crate::{dma, peripherals, rcc::RccPeripheral};