Struct esp_idf_sys::sdmmc_scr_t
source · #[repr(C)]pub struct sdmmc_scr_t {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub rsvd_mnf: u32,
}
Expand description
Decoded values from SD Configuration Register Note: When new member is added, update reserved bits accordingly
Fields§
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§rsvd_mnf: u32
< reserved for manufacturer usage
Implementations§
source§impl sdmmc_scr_t
impl sdmmc_scr_t
pub fn sd_spec(&self) -> u32
pub fn set_sd_spec(&mut self, val: u32)
pub fn erase_mem_state(&self) -> u32
pub fn set_erase_mem_state(&mut self, val: u32)
pub fn bus_width(&self) -> u32
pub fn set_bus_width(&mut self, val: u32)
pub fn reserved(&self) -> u32
pub fn set_reserved(&mut self, val: u32)
pub fn new_bitfield_1( sd_spec: u32, erase_mem_state: u32, bus_width: u32, reserved: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
source§impl Clone for sdmmc_scr_t
impl Clone for sdmmc_scr_t
source§fn clone(&self) -> sdmmc_scr_t
fn clone(&self) -> sdmmc_scr_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_scr_t
impl Debug for sdmmc_scr_t
source§impl Default for sdmmc_scr_t
impl Default for sdmmc_scr_t
source§fn default() -> sdmmc_scr_t
fn default() -> sdmmc_scr_t
Returns the “default value” for a type. Read more
impl Copy for sdmmc_scr_t
Auto Trait Implementations§
impl Freeze for sdmmc_scr_t
impl RefUnwindSafe for sdmmc_scr_t
impl Send for sdmmc_scr_t
impl Sync for sdmmc_scr_t
impl Unpin for sdmmc_scr_t
impl UnwindSafe for sdmmc_scr_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
)