Struct esp_idf_svc::sys::sdmmc_ssr_t
source · #[repr(C)]pub struct sdmmc_ssr_t {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}
Expand description
Decoded values from SD Status Register Note: When new member is added, update reserved bits accordingly
Fields§
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
Implementations§
source§impl sdmmc_ssr_t
impl sdmmc_ssr_t
pub fn alloc_unit_kb(&self) -> u32
pub fn set_alloc_unit_kb(&mut self, val: u32)
pub fn erase_size_au(&self) -> u32
pub fn set_erase_size_au(&mut self, val: u32)
pub fn cur_bus_width(&self) -> u32
pub fn set_cur_bus_width(&mut self, val: u32)
pub fn discard_support(&self) -> u32
pub fn set_discard_support(&mut self, val: u32)
pub fn fule_support(&self) -> u32
pub fn set_fule_support(&mut self, val: u32)
pub fn erase_timeout(&self) -> u32
pub fn set_erase_timeout(&mut self, val: u32)
pub fn erase_offset(&self) -> u32
pub fn set_erase_offset(&mut self, val: u32)
pub fn reserved(&self) -> u32
pub fn set_reserved(&mut self, val: u32)
pub fn new_bitfield_1( alloc_unit_kb: u32, erase_size_au: u32, cur_bus_width: u32, discard_support: u32, fule_support: u32, erase_timeout: u32, erase_offset: u32, reserved: u32, ) -> __BindgenBitfieldUnit<[u8; 8]>
Trait Implementations§
source§impl Clone for sdmmc_ssr_t
impl Clone for sdmmc_ssr_t
source§fn clone(&self) -> sdmmc_ssr_t
fn clone(&self) -> sdmmc_ssr_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_ssr_t
impl Debug for sdmmc_ssr_t
source§impl Default for sdmmc_ssr_t
impl Default for sdmmc_ssr_t
source§fn default() -> sdmmc_ssr_t
fn default() -> sdmmc_ssr_t
Returns the “default value” for a type. Read more
impl Copy for sdmmc_ssr_t
Auto Trait Implementations§
impl Freeze for sdmmc_ssr_t
impl RefUnwindSafe for sdmmc_ssr_t
impl Send for sdmmc_ssr_t
impl Sync for sdmmc_ssr_t
impl Unpin for sdmmc_ssr_t
impl UnwindSafe for sdmmc_ssr_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
)