pub struct Card {
pub card_type: CardCapacity,
pub ocr: OCR<SD>,
pub rca: u16,
pub cid: CID<SD>,
pub csd: CSD<SD>,
pub scr: SCR,
pub status: SDStatus,
}Expand description
SD Card
Fields§
§card_type: CardCapacityThe type of this card
ocr: OCR<SD>Operation Conditions Register
rca: u16Relative Card Address
cid: CID<SD>Card ID
csd: CSD<SD>Card Specific Data
scr: SCRSD CARD Configuration Register
status: SDStatusSD Status
Trait Implementations§
Source§impl Addressable for Card
impl Addressable for Card
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 Card
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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.