# Struct os::drivers::block::sdcard::SDCardCSD

source · [−]

    pub struct SDCardCSD {Show 32 fields
        pub CSDStruct: u8,
        pub SysSpecVersion: u8,
        pub Reserved1: u8,
        pub TAAC: u8,
        pub NSAC: u8,
        pub MaxBusClkFrec: u8,
        pub CardComdClasses: u16,
        pub RdBlockLen: u8,
        pub PartBlockRead: u8,
        pub WrBlockMisalign: u8,
        pub RdBlockMisalign: u8,
        pub DSRImpl: u8,
        pub Reserved2: u8,
        pub DeviceSize: u32,
        pub EraseGrSize: u8,
        pub EraseGrMul: u8,
        pub WrProtectGrSize: u8,
        pub WrProtectGrEnable: u8,
        pub ManDeflECC: u8,
        pub WrSpeedFact: u8,
        pub MaxWrBlockLen: u8,
        pub WriteBlockPaPartial: u8,
        pub Reserved3: u8,
        pub ContentProtectAppli: u8,
        pub FileFormatGroup: u8,
        pub CopyFlag: u8,
        pub PermWrProtect: u8,
        pub TempWrProtect: u8,
        pub FileFormat: u8,
        pub ECC: u8,
        pub CSD_CRC: u8,
        pub Reserved4: u8,
    }

Expand description

Card Specific Data: CSD Register

## Fields

`CSDStruct: u8` `SysSpecVersion: u8` `Reserved1: u8` `TAAC: u8` `NSAC: u8` `MaxBusClkFrec: u8` `CardComdClasses: u16` `RdBlockLen: u8` `PartBlockRead: u8` `WrBlockMisalign: u8` `RdBlockMisalign: u8` `DSRImpl: u8` `Reserved2: u8` `DeviceSize: u32` `EraseGrSize: u8` `EraseGrMul: u8` `WrProtectGrSize: u8` `WrProtectGrEnable: u8` `ManDeflECC: u8` `WrSpeedFact: u8` `MaxWrBlockLen: u8` `WriteBlockPaPartial: u8` `Reserved3: u8` `ContentProtectAppli: u8` `FileFormatGroup: u8` `CopyFlag: u8` `PermWrProtect: u8` `TempWrProtect: u8` `FileFormat: u8` `ECC: u8` `CSD_CRC: u8` `Reserved4: u8`

## Trait Implementations

source

### impl Clone for SDCardCSD

source

#### fn clone(&self) -> SDCardCSD

Returns a copy of the value. Read more

1.0.0 · source

#### fn clone_from(&mut self, source: &Self)

Performs copy-assignment from `source`. Read more

source

### impl Debug for SDCardCSD

source

#### fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

source

### impl Copy for SDCardCSD

## Auto Trait Implementations

### impl RefUnwindSafe for SDCardCSD

### impl Send for SDCardCSD

### impl Sync for SDCardCSD

### impl Unpin for SDCardCSD

### impl UnwindSafe for SDCardCSD

## Blanket Implementations

source

### impl<T> Any for T where
T: 'static + ?Sized,

source

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more

source

### impl<T> Borrow<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

source

### impl<T> BorrowMut<T> for T where
T: ?Sized,

const: unstable · source

#### fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more

source

### impl<T> From<T> for T

const: unstable · source

#### fn from(t: T) -> T

Returns the argument unchanged.

source

### impl<T, U> Into<U> for T where
U: From<T>,

const: unstable · source

#### fn into(self) -> U

Calls `U::from(self)`.

That is, this conversion is whatever the implementation of `From<T> for U` chooses to do.

source

### impl<T> ToOwned for T where
T: Clone,

#### type Owned = T

The resulting type after obtaining ownership.

source

#### fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more

source

#### fn clone_into(&self, target: &mut T)

🔬 This is a nightly-only experimental API. (`toowned_clone_into`)

Uses borrowed data to replace owned data, usually by cloning. Read more

source

### impl<T, U> TryFrom<U> for T where
U: Into<T>,

#### type Error = Infallible

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

source

### impl<T, U> TryInto<U> for T where
U: TryFrom<T>,

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

The type returned in the event of a conversion error.

const: unstable · source

#### fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.