Struct stm32wlxx_hal::pac::lptim3::cfgr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CFGR
writer
Implementations§
§impl W
impl W
pub fn countmode(
&mut self
) -> BitWriterRaw<'_, u32, CFGR_SPEC, COUNTMODE_A, BitM, 23>
pub fn countmode( &mut self ) -> BitWriterRaw<'_, u32, CFGR_SPEC, COUNTMODE_A, BitM, 23>
Bit 23 - COUNTMODE
pub fn preload(
&mut self
) -> BitWriterRaw<'_, u32, CFGR_SPEC, PRELOAD_A, BitM, 22>
pub fn preload( &mut self ) -> BitWriterRaw<'_, u32, CFGR_SPEC, PRELOAD_A, BitM, 22>
Bit 22 - PRELOAD
pub fn trigen(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, TRIGEN_A, Safe, 2, 17>
pub fn trigen( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, TRIGEN_A, Safe, 2, 17>
Bits 17:18 - TRIGEN
pub fn trigsel(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, TRIGSEL_A, Safe, 3, 13>
pub fn trigsel( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, TRIGSEL_A, Safe, 3, 13>
Bits 13:15 - TRIGSEL
pub fn presc(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PRESC_A, Safe, 3, 9>
pub fn presc( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, PRESC_A, Safe, 3, 9>
Bits 9:11 - PRESC
pub fn trgflt(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, TRGFLT_A, Safe, 2, 6>
pub fn trgflt( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, TRGFLT_A, Safe, 2, 6>
Bits 6:7 - TRGFLT
pub fn ckflt(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, CKFLT_A, Safe, 2, 3>
pub fn ckflt( &mut self ) -> FieldWriterRaw<'_, u32, CFGR_SPEC, u8, CKFLT_A, Safe, 2, 3>
Bits 3:4 - CKFLT
Methods from Deref<Target = W<CFGR_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