pub struct W(_);
Expand description
Register CLKCR
writer
Implementations
sourceimpl W
impl W
sourcepub fn hwfc_en(
&mut self
) -> BitWriterRaw<'_, u32, CLKCR_SPEC, HWFC_EN_A, BitM, 14>
pub fn hwfc_en(
&mut self
) -> BitWriterRaw<'_, u32, CLKCR_SPEC, HWFC_EN_A, BitM, 14>
Bit 14 - HW Flow Control enable
sourcepub fn negedge(
&mut self
) -> BitWriterRaw<'_, u32, CLKCR_SPEC, NEGEDGE_A, BitM, 13>
pub fn negedge(
&mut self
) -> BitWriterRaw<'_, u32, CLKCR_SPEC, NEGEDGE_A, BitM, 13>
Bit 13 - SDIO_CK dephasing selection bit
sourcepub fn widbus(
&mut self
) -> FieldWriterRaw<'_, u32, CLKCR_SPEC, u8, WIDBUS_A, Unsafe, 2, 11>
pub fn widbus(
&mut self
) -> FieldWriterRaw<'_, u32, CLKCR_SPEC, u8, WIDBUS_A, Unsafe, 2, 11>
Bits 11:12 - Wide bus mode enable bit
sourcepub fn bypass(
&mut self
) -> BitWriterRaw<'_, u32, CLKCR_SPEC, BYPASS_A, BitM, 10>
pub fn bypass(
&mut self
) -> BitWriterRaw<'_, u32, CLKCR_SPEC, BYPASS_A, BitM, 10>
Bit 10 - Clock divider bypass enable bit
sourcepub fn pwrsav(&mut self) -> BitWriterRaw<'_, u32, CLKCR_SPEC, PWRSAV_A, BitM, 9>
pub fn pwrsav(&mut self) -> BitWriterRaw<'_, u32, CLKCR_SPEC, PWRSAV_A, BitM, 9>
Bit 9 - Power saving configuration bit
sourcepub fn clken(&mut self) -> BitWriterRaw<'_, u32, CLKCR_SPEC, CLKEN_A, BitM, 8>
pub fn clken(&mut self) -> BitWriterRaw<'_, u32, CLKCR_SPEC, CLKEN_A, BitM, 8>
Bit 8 - Clock enable bit
Methods from Deref<Target = W<CLKCR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations
sourceimpl From<W<CLKCR_SPEC>> for W
impl From<W<CLKCR_SPEC>> for W
sourcefn from(writer: W<CLKCR_SPEC>) -> W
fn from(writer: W<CLKCR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
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