pub struct W(/* private fields */);
Expand description
Register CLKCR
writer
Implementations§
source§impl 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§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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