Struct stm32_metapac::sdmmc::regs::Cmdr
#[repr(transparent)]pub struct Cmdr(pub u32);
Expand description
command register
Tuple Fields§
§0: u32
Implementations§
§impl Cmdr
impl Cmdr
pub fn set_cmdindex(&mut self, val: u8)
pub fn set_cmdindex(&mut self, val: u8)
Command index
pub fn set_waitresp(&mut self, val: u8)
pub fn set_waitresp(&mut self, val: u8)
Wait for response bits
pub fn set_waitint(&mut self, val: bool)
pub fn set_waitint(&mut self, val: bool)
CPSM waits for interrupt request
pub fn set_waitpend(&mut self, val: bool)
pub fn set_waitpend(&mut self, val: bool)
CPSM Waits for ends of data transfer (CmdPend internal signal)
pub fn set_cpsmen(&mut self, val: bool)
pub fn set_cpsmen(&mut self, val: bool)
Command path state machine (CPSM) Enable bit
pub const fn sdiosuspend(&self) -> bool
pub const fn sdiosuspend(&self) -> bool
SD I/O suspend command
pub fn set_sdiosuspend(&mut self, val: bool)
pub fn set_sdiosuspend(&mut self, val: bool)
SD I/O suspend command
Trait Implementations§
impl Copy for Cmdr
impl Eq for Cmdr
impl StructuralPartialEq for Cmdr
Auto Trait Implementations§
impl Freeze for Cmdr
impl RefUnwindSafe for Cmdr
impl Send for Cmdr
impl Sync for Cmdr
impl Unpin for Cmdr
impl UnwindSafe for Cmdr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§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
)