#[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 unsafe fn alloc_unit_kb_raw(this: *const Self) -> u32
pub unsafe fn set_alloc_unit_kb_raw(this: *mut Self, val: u32)
pub fn erase_size_au(&self) -> u32
pub fn set_erase_size_au(&mut self, val: u32)
pub unsafe fn erase_size_au_raw(this: *const Self) -> u32
pub unsafe fn set_erase_size_au_raw(this: *mut Self, val: u32)
pub fn cur_bus_width(&self) -> u32
pub fn set_cur_bus_width(&mut self, val: u32)
pub unsafe fn cur_bus_width_raw(this: *const Self) -> u32
pub unsafe fn set_cur_bus_width_raw(this: *mut Self, val: u32)
pub fn discard_support(&self) -> u32
pub fn set_discard_support(&mut self, val: u32)
pub unsafe fn discard_support_raw(this: *const Self) -> u32
pub unsafe fn set_discard_support_raw(this: *mut Self, val: u32)
pub fn fule_support(&self) -> u32
pub fn set_fule_support(&mut self, val: u32)
pub unsafe fn fule_support_raw(this: *const Self) -> u32
pub unsafe fn set_fule_support_raw(this: *mut Self, val: u32)
pub fn erase_timeout(&self) -> u32
pub fn set_erase_timeout(&mut self, val: u32)
pub unsafe fn erase_timeout_raw(this: *const Self) -> u32
pub unsafe fn set_erase_timeout_raw(this: *mut Self, val: u32)
pub fn erase_offset(&self) -> u32
pub fn set_erase_offset(&mut self, val: u32)
pub unsafe fn erase_offset_raw(this: *const Self) -> u32
pub unsafe fn set_erase_offset_raw(this: *mut Self, val: u32)
pub fn reserved(&self) -> u32
pub fn set_reserved(&mut self, val: u32)
pub unsafe fn reserved_raw(this: *const Self) -> u32
pub unsafe fn set_reserved_raw(this: *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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)