#[repr(C)]
pub struct sdmmc_card_t { pub host: sdmmc_host_t, pub ocr: u32, pub __bindgen_anon_1: sdmmc_card_t__bindgen_ty_1, pub csd: sdmmc_csd_t, pub scr: sdmmc_scr_t, pub ext_csd: sdmmc_ext_csd_t, pub rca: u16, pub max_freq_khz: u16, pub _bitfield_align_1: [u32; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, }
Expand description

SD/MMC card information structure

Fields

host: sdmmc_host_t

< Host with which the card is associated

ocr: u32

< OCR (Operation Conditions Register) value

__bindgen_anon_1: sdmmc_card_t__bindgen_ty_1csd: sdmmc_csd_t

< decoded CSD (Card-Specific Data) register value

scr: sdmmc_scr_t

< decoded SCR (SD card Configuration Register) value

ext_csd: sdmmc_ext_csd_t

< decoded EXT_CSD (Extended Card Specific Data) register value

rca: u16

< RCA (Relative Card Address)

max_freq_khz: u16

< Maximum frequency, in kHz, supported by the card

_bitfield_align_1: [u32; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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 resulting type after obtaining ownership.

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

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

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.