pub struct CID<Ext> { /* private fields */ }
Expand description

Card Identification Register (CID)

R2

Implementations

Manufacturer ID

OEM/Application ID

Product name

Product revision

Product serial number

Manufacturing date

CBX field, indicating device type.

OID field, indicating OEM/Application ID.

The OID number is controlled, defined and allocated to an eMMC manufacturer by JEDEC.

PNM field, indicating product name.

PRV field, indicating product revision.

The return value is a (major, minor) version tuple.

PSN field, indicating product serial number.

MDT field, indicating manufacturing date.

The return value is a (month, year) tuple where the month code has 1 = January and the year is an offset from either 1997 or 2013 depending on the value of EXT_CSD_REV.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

From little endian words

Converts to this type from the input type.

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.