Enum Pwrctrl
#[repr(u8)]pub enum Pwrctrl {
PowerOff = 0,
_RESERVED_1 = 1,
PowerCycle = 2,
PowerOn = 3,
}Variants§
PowerOff = 0
After reset, reset state (SDMMC disabled, D[7:0] and CMD HiZ, CK driven low). When written, power-off (SDMMC disabled, D[7:0], CMD and CK driven high)
_RESERVED_1 = 1
PowerCycle = 2
Power-cycle (SDMMC disabled, D[7:0], CMD and CK driven low)
PowerOn = 3
Power-on, the card is clocked
Implementations§
Trait Implementations§
impl Copy for Pwrctrl
impl Eq for Pwrctrl
§impl Ord for Pwrctrl
impl Ord for Pwrctrl
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Pwrctrl
impl PartialOrd for Pwrctrl
impl StructuralPartialEq for Pwrctrl
Auto Trait Implementations§
impl Freeze for Pwrctrl
impl RefUnwindSafe for Pwrctrl
impl Send for Pwrctrl
impl Sync for Pwrctrl
impl Unpin for Pwrctrl
impl UnsafeUnpin for Pwrctrl
impl UnwindSafe for Pwrctrl
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