Struct stm32wlxx_hal::pac::rtc::alrmssr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register ALRM%sSSR
writer
Implementations§
§impl W
impl W
pub fn ssclr(
&mut self
) -> BitWriterRaw<'_, u32, ALRMSSR_SPEC, SSCLR_A, BitM, 31>
pub fn ssclr( &mut self ) -> BitWriterRaw<'_, u32, ALRMSSR_SPEC, SSCLR_A, BitM, 31>
Bit 31 - Clear synchronous counter on alarm (Binary mode only)
pub fn maskss(
&mut self
) -> FieldWriterRaw<'_, u32, ALRMSSR_SPEC, u8, u8, Safe, 6, 24>
pub fn maskss( &mut self ) -> FieldWriterRaw<'_, u32, ALRMSSR_SPEC, u8, u8, Safe, 6, 24>
Bits 24:29 - Mask the most-significant bits starting at this bit
pub fn ss(
&mut self
) -> FieldWriterRaw<'_, u32, ALRMSSR_SPEC, u16, u16, Safe, 15, 0>
pub fn ss( &mut self ) -> FieldWriterRaw<'_, u32, ALRMSSR_SPEC, u16, u16, Safe, 15, 0>
Bits 0:14 - Sub seconds value
Methods from Deref<Target = W<ALRMSSR_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§
§impl From<W<ALRMSSR_SPEC>> for W
impl From<W<ALRMSSR_SPEC>> for W
§fn from(writer: W<ALRMSSR_SPEC>) -> W
fn from(writer: W<ALRMSSR_SPEC>) -> W
Converts to this type from the input type.
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