Struct stm32_metapac::sdmmc::regs::Acktimer
#[repr(transparent)]pub struct Acktimer(pub u32);
Expand description
The SDMMC_ACKTIMER register contains the acknowledgment timeout period, in SDMMC_CK bus clock periods. A counter loads the value from the SDMMC_ACKTIMER register, and starts decrementing when the data path state machine (DPSM) enters the Wait_Ack state. If the timer reaches 0 while the DPSM is in this states, the acknowledgment timeout status flag is set.
Tuple Fields§
§0: u32
Implementations§
§impl Acktimer
impl Acktimer
pub const fn acktime(&self) -> u32
pub const fn acktime(&self) -> u32
Boot acknowledgment timeout period This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). Boot acknowledgment timeout period expressed in card bus clock periods.
pub fn set_acktime(&mut self, val: u32)
pub fn set_acktime(&mut self, val: u32)
Boot acknowledgment timeout period This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). Boot acknowledgment timeout period expressed in card bus clock periods.
Trait Implementations§
impl Copy for Acktimer
impl Eq for Acktimer
impl StructuralEq for Acktimer
impl StructuralPartialEq for Acktimer
Auto Trait Implementations§
impl RefUnwindSafe for Acktimer
impl Send for Acktimer
impl Sync for Acktimer
impl Unpin for Acktimer
impl UnwindSafe for Acktimer
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