pub struct W(_);
Expand description
Register SDMMC_POWER
writer
Implementations
sourceimpl W
impl W
sourcepub fn pwrctrl(&mut self) -> PWRCTRL_W<'_, 0>
pub fn pwrctrl(&mut self) -> PWRCTRL_W<'_, 0>
Bits 0:1 - SDMMC state control bits. These bits can only be written when the SDMMC is not in the power-on state (PWRCTRL?11). These bits are used to define the functional state of the SDMMC signals: Any further write will be ignored, PWRCTRL value will keep 11.
sourcepub fn vswitch(&mut self) -> VSWITCH_W<'_, 2>
pub fn vswitch(&mut self) -> VSWITCH_W<'_, 2>
Bit 2 - Voltage switch sequence start. This bit is used to start the timing critical section of the voltage switch sequence:
sourcepub fn vswitchen(&mut self) -> VSWITCHEN_W<'_, 3>
pub fn vswitchen(&mut self) -> VSWITCHEN_W<'_, 3>
Bit 3 - Voltage switch procedure enable. This bit can only be written by firmware when CPSM is disabled (CPSMEN = 0). This bit is used to stop the SDMMC_CK after the voltage switch command response:
Methods from Deref<Target = W<SDMMC_POWER_SPEC>>
Trait Implementations
sourceimpl From<W<SDMMC_POWER_SPEC>> for W
impl From<W<SDMMC_POWER_SPEC>> for W
sourcefn from(writer: W<SDMMC_POWER_SPEC>) -> Self
fn from(writer: W<SDMMC_POWER_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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