Struct stm32wlxx_hal::pac::rtc::icsr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register ICSR
writer
Implementations§
§impl W
impl W
pub fn bcdu(
&mut self
) -> FieldWriterRaw<'_, u32, ICSR_SPEC, u8, BCDU_A, Safe, 3, 10>
pub fn bcdu( &mut self ) -> FieldWriterRaw<'_, u32, ICSR_SPEC, u8, BCDU_A, Safe, 3, 10>
Bits 10:12 - BCD update
pub fn bin(
&mut self
) -> FieldWriterRaw<'_, u32, ICSR_SPEC, u8, BIN_A, Safe, 2, 8>
pub fn bin( &mut self ) -> FieldWriterRaw<'_, u32, ICSR_SPEC, u8, BIN_A, Safe, 2, 8>
Bits 8:9 - Binary mode
pub fn init(&mut self) -> BitWriterRaw<'_, u32, ICSR_SPEC, INIT_A, BitM, 7>
pub fn init(&mut self) -> BitWriterRaw<'_, u32, ICSR_SPEC, INIT_A, BitM, 7>
Bit 7 - Initialization mode
Methods from Deref<Target = W<ICSR_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