Enum rk3399_pac::sdmmc::cmd::CcsExpected
source · pub enum CcsExpected {
B0 = 0,
B1 = 1,
}
Expand description
Value on reset: 0
Variants§
B0 = 0
0: Interrupts are not enabled in CE-ATA device (nIEN = 1 in ATA control register), or command does not expect CCS from device
B1 = 1
1: Interrupts are enabled in CE-ATA device (nIEN = 0), and RW_BLK command expects command completion signal from CE- ATA device. If the command expects Command Completion Signal (CCS) from the CE-ATA device, the software should set this control bit. Mobile Storage Host Controller sets Data Transfer Over (DTO) bit in RINTSTS register and generates interrupt to host if Data Transfer Over interrupt is not masked.
Trait Implementations§
source§impl Clone for CcsExpected
impl Clone for CcsExpected
source§fn clone(&self) -> CcsExpected
fn clone(&self) -> CcsExpected
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 CcsExpected
impl Debug for CcsExpected
source§impl From<CcsExpected> for bool
impl From<CcsExpected> for bool
source§fn from(variant: CcsExpected) -> Self
fn from(variant: CcsExpected) -> Self
Converts to this type from the input type.
source§impl PartialEq for CcsExpected
impl PartialEq for CcsExpected
source§fn eq(&self, other: &CcsExpected) -> bool
fn eq(&self, other: &CcsExpected) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CcsExpected
impl Eq for CcsExpected
impl StructuralPartialEq for CcsExpected
Auto Trait Implementations§
impl Freeze for CcsExpected
impl RefUnwindSafe for CcsExpected
impl Send for CcsExpected
impl Sync for CcsExpected
impl Unpin for CcsExpected
impl UnwindSafe for CcsExpected
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