Struct stm32_hal2::dma::dma1::C6 [−][src]
pub struct C6;
Implementations
impl C6[src]
impl C6[src]pub fn set_peripheral_address(&mut self, address: u32, inc: bool)[src]
Associated peripheral address
inc indicates whether the address will be incremented after every byte transfer
pub fn set_memory_address(&mut self, address: u32, inc: bool)[src]
address where from/to data will be read/write
inc indicates whether the address will be incremented after every byte transfer
pub fn set_transfer_length(&mut self, len: u16)[src]
Number of bytes to transfer
pub fn start(&mut self)[src]
Starts the DMA transfer
pub fn stop(&mut self)[src]
Stops the DMA transfer
pub fn in_progress(&self) -> bool[src]
Returns true if there’s a transfer in progress