Enum ChTr2Swreq
#[repr(u8)]pub enum ChTr2Swreq {
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§
§impl ChTr2Swreq
impl ChTr2Swreq
pub const fn from_bits(val: u8) -> ChTr2Swreq
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ChTr2Swreq
impl Clone for ChTr2Swreq
§fn clone(&self) -> ChTr2Swreq
fn clone(&self) -> ChTr2Swreq
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<ChTr2Swreq> for u8
impl From<ChTr2Swreq> for u8
§fn from(val: ChTr2Swreq) -> u8
fn from(val: ChTr2Swreq) -> u8
Converts to this type from the input type.
§impl From<u8> for ChTr2Swreq
impl From<u8> for ChTr2Swreq
§fn from(val: u8) -> ChTr2Swreq
fn from(val: u8) -> ChTr2Swreq
Converts to this type from the input type.
§impl Ord for ChTr2Swreq
impl Ord for ChTr2Swreq
§impl PartialEq for ChTr2Swreq
impl PartialEq for ChTr2Swreq
§impl PartialOrd for ChTr2Swreq
impl PartialOrd for ChTr2Swreq
impl Copy for ChTr2Swreq
impl Eq for ChTr2Swreq
impl StructuralPartialEq for ChTr2Swreq
Auto Trait Implementations§
impl Freeze for ChTr2Swreq
impl RefUnwindSafe for ChTr2Swreq
impl Send for ChTr2Swreq
impl Sync for ChTr2Swreq
impl Unpin for ChTr2Swreq
impl UnwindSafe for ChTr2Swreq
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