Enum stm32_metapac::lpdma::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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)