ros666::drivers::block::sdcard

Struct 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§

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,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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,

Source§

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)

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

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
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>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.