Struct stm32_metapac::sdmmc::regs::Argr
#[repr(transparent)]pub struct Argr(pub u32);
Expand description
The SDMMC_ARGR register contains a 32-bit command argument, which is sent to a card as part of a command message.
Tuple Fields§
§0: u32
Implementations§
§impl Argr
impl Argr
pub const fn cmdarg(&self) -> u32
pub const fn cmdarg(&self) -> u32
Command argument. These bits can only be written by firmware when CPSM is disabled (CPSMEN = 0). Command argument sent to a card as part of a command message. If a command contains an argument, it must be loaded into this register before writing a command to the command register.
pub fn set_cmdarg(&mut self, val: u32)
pub fn set_cmdarg(&mut self, val: u32)
Command argument. These bits can only be written by firmware when CPSM is disabled (CPSMEN = 0). Command argument sent to a card as part of a command message. If a command contains an argument, it must be loaded into this register before writing a command to the command register.
Trait Implementations§
impl Copy for Argr
impl Eq for Argr
impl StructuralPartialEq for Argr
Auto Trait Implementations§
impl Freeze for Argr
impl RefUnwindSafe for Argr
impl Send for Argr
impl Sync for Argr
impl Unpin for Argr
impl UnwindSafe for Argr
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
)