Struct stm32wlxx_hal::pac::tim2::cr1::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR1
writer
Implementations§
§impl W
impl W
pub fn uifremap(
&mut self
) -> BitWriterRaw<'_, u32, CR1_SPEC, UIFREMAP_A, BitM, 11>
pub fn uifremap( &mut self ) -> BitWriterRaw<'_, u32, CR1_SPEC, UIFREMAP_A, BitM, 11>
Bit 11 - UIF status bit remapping
pub 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
pub 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
pub fn cms(
&mut self
) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, CMS_A, Safe, 2, 5>
pub fn cms( &mut self ) -> FieldWriterRaw<'_, u32, CR1_SPEC, u8, CMS_A, Safe, 2, 5>
Bits 5:6 - Center-aligned mode selection
Methods from Deref<Target = W<CR1_SPEC>>§
pub 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§
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