#[repr(u8)]pub enum Cmdtypselect {
Normal = 0,
Suspend = 1,
Resume = 2,
Abort = 3,
}
Expand description
Command Type
Value on reset: 0
Variants§
Normal = 0
0: Other commands
Suspend = 1
1: CMD52 for writing Bus Suspend in CCCR
Resume = 2
2: CMD52 for writing Function Select in CCCR
Abort = 3
3: CMD12, CMD52 for writing I/O Abort in CCCR
Trait Implementations§
Source§impl Clone for Cmdtypselect
impl Clone for Cmdtypselect
Source§fn clone(&self) -> Cmdtypselect
fn clone(&self) -> Cmdtypselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Cmdtypselect
impl Debug for Cmdtypselect
Source§impl From<Cmdtypselect> for u8
impl From<Cmdtypselect> for u8
Source§fn from(variant: Cmdtypselect) -> Self
fn from(variant: Cmdtypselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Cmdtypselect
impl PartialEq for Cmdtypselect
impl Copy for Cmdtypselect
impl Eq for Cmdtypselect
impl IsEnum for Cmdtypselect
impl StructuralPartialEq for Cmdtypselect
Auto Trait Implementations§
impl Freeze for Cmdtypselect
impl RefUnwindSafe for Cmdtypselect
impl Send for Cmdtypselect
impl Sync for Cmdtypselect
impl Unpin for Cmdtypselect
impl UnwindSafe for Cmdtypselect
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