pub struct W(/* private fields */);
Expand description
Register CR1
writer
Implementations§
source§impl W
impl W
sourcepub fn uifremap(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, bool, BitM, 11>
pub fn uifremap(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, bool, BitM, 11>
Bit 11 - UIF status bit remapping
sourcepub fn ckd(
&mut self
) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, CKD_A, Unsafe, 2, 8>
pub fn ckd( &mut self ) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, CKD_A, Unsafe, 2, 8>
Bits 8:9 - Clock division
sourcepub fn arpe(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, ARPE_A, BitM, 7>
pub fn arpe(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, ARPE_A, BitM, 7>
Bit 7 - Auto-reload preload enable
sourcepub fn cms(&mut self) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, u8, Unsafe, 2, 5>
pub fn cms(&mut self) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, u8, Unsafe, 2, 5>
Bits 5:6 - Center-aligned mode selection
sourcepub fn opm(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, OPM_A, BitM, 3>
pub fn opm(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, OPM_A, BitM, 3>
Bit 3 - One-pulse mode
sourcepub fn urs(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, URS_A, BitM, 2>
pub fn urs(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, URS_A, BitM, 2>
Bit 2 - Update request source
sourcepub fn udis(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, UDIS_A, BitM, 1>
pub fn udis(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, UDIS_A, BitM, 1>
Bit 1 - Update disable
Methods from Deref<Target = W<CR1_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