Enum rp2040_hal::dma::Pace
source · pub enum Pace {
PreferSource,
PreferSink,
}
Expand description
Pacing for DMA transfers.
Generally, while memory-to-memory DMA transfers can operate at maximum possible throughput, transfers involving peripherals commonly have to wait for data to be available or for available space in write queues. This type defines whether the sink or the source shall pace the transfer for peripheral-to-peripheral transfers.
Variants§
PreferSource
The DREQ signal from the source is used, if available. If not, the sink’s DREQ signal is used.
PreferSink
The DREQ signal from the sink is used, if available. If not, the source’s DREQ signal is used.
Trait Implementations§
source§impl PartialEq for Pace
impl PartialEq for Pace
impl Copy for Pace
impl Eq for Pace
impl StructuralPartialEq for Pace
Auto Trait Implementations§
impl RefUnwindSafe for Pace
impl Send for Pace
impl Sync for Pace
impl Unpin for Pace
impl UnwindSafe for Pace
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more