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§
impl Copy for Pace
impl Eq for Pace
impl StructuralPartialEq for Pace
Auto Trait Implementations§
impl Freeze for Pace
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more