Enum stm32_metapac::gpdma::vals::Swreq
#[repr(u8)]pub enum Swreq {
HARDWARE = 0,
SOFTWARE = 1,
}
Variants§
HARDWARE = 0
no software request. The selected hardware request REQSEL[6:0] is taken into account.
SOFTWARE = 1
software request for a memory-to-memory transfer. The default selected hardware request as per REQSEL[6:0] is ignored.
Implementations§
Trait Implementations§
§impl Ord for Swreq
impl Ord for Swreq
§impl PartialOrd for Swreq
impl PartialOrd for Swreq
§fn partial_cmp(&self, other: &Swreq) -> Option<Ordering>
fn partial_cmp(&self, other: &Swreq) -> 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 Swreq
impl Eq for Swreq
impl StructuralEq for Swreq
impl StructuralPartialEq for Swreq
Auto Trait Implementations§
impl RefUnwindSafe for Swreq
impl Send for Swreq
impl Sync for Swreq
impl Unpin for Swreq
impl UnwindSafe for Swreq
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