Struct esp_idf_svc::hal::sys::sdmmc_csd_t
source · #[repr(C)]pub struct sdmmc_csd_t {
pub csd_ver: i32,
pub mmc_ver: i32,
pub capacity: i32,
pub sector_size: i32,
pub read_block_len: i32,
pub card_command_class: i32,
pub tr_speed: i32,
}
Expand description
Decoded values from SD card Card Specific Data register
Fields§
§csd_ver: i32
< CSD structure format
mmc_ver: i32
< MMC version (for CID format)
capacity: i32
< total number of sectors
sector_size: i32
< sector size in bytes
read_block_len: i32
< block length for reads
card_command_class: i32
< Card Command Class for SD
tr_speed: i32
< 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: 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
)§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
)