Enum 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
impl Copy for Swreq
impl Eq for Swreq
impl StructuralPartialEq for Swreq
Auto Trait Implementations§
impl Freeze for Swreq
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