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 StructuralPartialEq for Acktimer
Auto Trait Implementations§
impl Freeze for Acktimer
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
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
)