Adding docs

master
Ryan Summers 2020-12-17 14:10:36 +01:00
parent 438b291974
commit 8fb37c2db9
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ macro_rules! dac_output {
Self { _channel, spi }
}
/// Start the SPI and begin operating in a DMA-driven transfer mode.
pub fn start_dma(&mut self) {
// Allow the SPI FIFOs to operate using only DMA data channels.
self.spi.enable_dma_tx();