Struct stm32_hal2::pac::sdmmc1::dcntr::DCNTR_SPEC
source · [−]pub struct DCNTR_SPEC;
Expand description
The SDMMC_DCNTR register loads the value from the data length register (see SDMMC_DLENR) when the DPSM moves from the Idle state to the Wait_R or Wait_S state. As data is transferred, the counter decrements the value until it reaches 0. The DPSM then moves to the Idle state and when there has been no error, the data status end flag (DATAEND) is set.
This register you can read
. See API.
For information about available fields see dcntr module
Trait Implementations
sourceimpl Readable for DCNTR_SPEC
impl Readable for DCNTR_SPEC
read()
method returns dcntr::R reader structure
sourceimpl RegisterSpec for DCNTR_SPEC
impl RegisterSpec for DCNTR_SPEC
sourceimpl Resettable for DCNTR_SPEC
impl Resettable for DCNTR_SPEC
reset()
method sets DCNTR to value 0
sourcefn reset_value() -> <DCNTR_SPEC as RegisterSpec>::Ux
fn reset_value() -> <DCNTR_SPEC as RegisterSpec>::Ux
Reset value of the register.
Auto Trait Implementations
impl RefUnwindSafe for DCNTR_SPEC
impl Send for DCNTR_SPEC
impl Sync for DCNTR_SPEC
impl Unpin for DCNTR_SPEC
impl UnwindSafe for DCNTR_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more