Struct stm32_metapac::sdmmc::regs::Dtimer
#[repr(transparent)]pub struct Dtimer(pub u32);
Expand description
The SDMMC_DTIMER register contains the data timeout period, in card bus clock periods. A counter loads the value from the SDMMC_DTIMER register, and starts decrementing when the data path state machine (DPSM) enters the Wait_R or Busy state. If the timer reaches 0 while the DPSM is in either of these states, the timeout status flag is set.
Tuple Fields§
§0: u32
Implementations§
§impl Dtimer
impl Dtimer
pub const fn datatime(&self) -> u32
pub const fn datatime(&self) -> u32
Data and R1b busy timeout period This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). Data and R1b busy timeout period expressed in card bus clock periods.
pub fn set_datatime(&mut self, val: u32)
pub fn set_datatime(&mut self, val: u32)
Data and R1b busy timeout period This bit can only be written when the CPSM and DPSM are not active (CPSMACT = 0 and DPSMACT = 0). Data and R1b busy timeout period expressed in card bus clock periods.
Trait Implementations§
impl Copy for Dtimer
impl Eq for Dtimer
impl StructuralEq for Dtimer
impl StructuralPartialEq for Dtimer
Auto Trait Implementations§
impl RefUnwindSafe for Dtimer
impl Send for Dtimer
impl Sync for Dtimer
impl Unpin for Dtimer
impl UnwindSafe for Dtimer
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