[][src]Struct stm32h7_sdmmc::Card

pub struct Card {
    pub card_type: CardType,
    pub ocr: OCR,
    pub rca: u32,
    pub cid: CID,
    pub csd: CSD,
    pub scr: SCR,
    pub status: SDStatus,
}

SD Card

Fields

card_type: CardType

The type of this card

ocr: OCR

Operation Conditions Register

rca: u32

Relative Card Address

cid: CID

Card ID

csd: CSD

Card Specific Data

scr: SCR

SD CARD Configuration Register

status: SDStatus

SD Status

Implementations

impl Card[src]

pub fn size(&self) -> u64[src]

Size in bytes

Trait Implementations

impl Clone for Card[src]

impl Copy for Card[src]

impl Debug for Card[src]

impl Default for Card[src]

Auto Trait Implementations

impl Send for Card

impl Sync for Card

impl Unpin for Card

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.