pub struct Emmc {
pub capacity: CardCapacity,
pub ocr: OCR<EMMC>,
pub rca: u16,
pub cid: CID<EMMC>,
pub csd: CSD<EMMC>,
pub ext_csd: ExtCSD,
}Expand description
eMMC storage
Fields§
§capacity: CardCapacityThe capacity of this card
ocr: OCR<EMMC>Operation Conditions Register
rca: u16Relative Card Address
cid: CID<EMMC>Card ID
csd: CSD<EMMC>Card Specific Data
ext_csd: ExtCSDExtended Card Specific Data
Trait Implementations§
Source§impl Addressable for Emmc
impl Addressable for Emmc
Source§fn get_address(&self) -> u16
fn get_address(&self) -> u16
Get this peripheral’s address on the SDMMC bus
Source§fn get_capacity(&self) -> CardCapacity
fn get_capacity(&self) -> CardCapacity
Is this a standard or high capacity peripheral?
Source§fn supports_cmd23(&self) -> bool
fn supports_cmd23(&self) -> bool
Whether the device supports
CMD23 (SET_BLOCK_COUNT).impl Copy for Emmc
Auto Trait Implementations§
impl Freeze for Emmc
impl RefUnwindSafe for Emmc
impl Send for Emmc
impl Sync for Emmc
impl Unpin for Emmc
impl UnwindSafe for Emmc
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§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.