Struct esp_idf_sys::sdmmc_csd_t
source · #[repr(C)]pub struct sdmmc_csd_t {
pub csd_ver: c_int,
pub mmc_ver: c_int,
pub capacity: c_int,
pub sector_size: c_int,
pub read_block_len: c_int,
pub card_command_class: c_int,
pub tr_speed: c_int,
}
Expand description
Decoded values from SD card Card Specific Data register
Fields§
§csd_ver: c_int
< CSD structure format
mmc_ver: c_int
< MMC version (for CID format)
capacity: c_int
< total number of sectors
sector_size: c_int
< sector size in bytes
read_block_len: c_int
< block length for reads
card_command_class: c_int
< Card Command Class for SD
tr_speed: c_int
< Max transfer speed
Trait Implementations§
source§impl Clone for sdmmc_csd_t
impl Clone for sdmmc_csd_t
source§fn clone(&self) -> sdmmc_csd_t
fn clone(&self) -> sdmmc_csd_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for sdmmc_csd_t
impl Debug for sdmmc_csd_t
source§impl Default for sdmmc_csd_t
impl Default for sdmmc_csd_t
source§fn default() -> sdmmc_csd_t
fn default() -> sdmmc_csd_t
Returns the “default value” for a type. Read more
impl Copy for sdmmc_csd_t
Auto Trait Implementations§
impl Freeze for sdmmc_csd_t
impl RefUnwindSafe for sdmmc_csd_t
impl Send for sdmmc_csd_t
impl Sync for sdmmc_csd_t
impl Unpin for sdmmc_csd_t
impl UnwindSafe for sdmmc_csd_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)