Enum stm32_metapac::gpdma::vals::Dreq
#[repr(u8)]pub enum Dreq {
SOURCEPERIPHERAL = 0,
DESTINATIONPERIPHERAL = 1,
}
Variants§
SOURCEPERIPHERAL = 0
selected hardware request driven by a source peripheral (request signal taken into account by the GPDMA transfer scheduler over the source/read port)
DESTINATIONPERIPHERAL = 1
selected hardware request driven by a destination peripheral (request signal taken into account by the GPDMA transfer scheduler over the destination/write port)
Implementations§
Trait Implementations§
§impl Ord for Dreq
impl Ord for Dreq
§impl PartialOrd for Dreq
impl PartialOrd for Dreq
§fn partial_cmp(&self, other: &Dreq) -> Option<Ordering>
fn partial_cmp(&self, other: &Dreq) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Dreq
impl Eq for Dreq
impl StructuralEq for Dreq
impl StructuralPartialEq for Dreq
Auto Trait Implementations§
impl RefUnwindSafe for Dreq
impl Send for Dreq
impl Sync for Dreq
impl Unpin for Dreq
impl UnwindSafe for Dreq
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