Struct stm32wlxx_hal::pac::lptim1::icr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register ICR
writer
Implementations§
§impl W
impl W
pub fn repokcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, REPOKCF_AW, BitM, 8>
pub fn repokcf( &mut self ) -> BitWriterRaw<'_, u32, ICR_SPEC, REPOKCF_AW, BitM, 8>
Bit 8 - Repetition register update OK clear flag
pub fn uecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, UECF_AW, BitM, 7>
pub fn uecf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, UECF_AW, BitM, 7>
Bit 7 - Update event clear flag
pub fn downcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, DOWNCF_AW, BitM, 6>
pub fn downcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, DOWNCF_AW, BitM, 6>
Bit 6 - Direction change to down Clear Flag
pub fn upcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, UPCF_AW, BitM, 5>
pub fn upcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, UPCF_AW, BitM, 5>
Bit 5 - Direction change to UP Clear Flag
pub fn arrokcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, ARROKCF_AW, BitM, 4>
pub fn arrokcf( &mut self ) -> BitWriterRaw<'_, u32, ICR_SPEC, ARROKCF_AW, BitM, 4>
Bit 4 - Autoreload register update OK Clear Flag
pub fn cmpokcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, CMPOKCF_AW, BitM, 3>
pub fn cmpokcf( &mut self ) -> BitWriterRaw<'_, u32, ICR_SPEC, CMPOKCF_AW, BitM, 3>
Bit 3 - Compare register update OK Clear Flag
pub fn exttrigcf(
&mut self
) -> BitWriterRaw<'_, u32, ICR_SPEC, EXTTRIGCF_AW, BitM, 2>
pub fn exttrigcf( &mut self ) -> BitWriterRaw<'_, u32, ICR_SPEC, EXTTRIGCF_AW, BitM, 2>
Bit 2 - External trigger valid edge Clear Flag
pub fn arrmcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, ARRMCF_AW, BitM, 1>
pub fn arrmcf(&mut self) -> BitWriterRaw<'_, u32, ICR_SPEC, ARRMCF_AW, BitM, 1>
Bit 1 - Autoreload match Clear Flag
Methods from Deref<Target = W<ICR_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