Struct stm32wlxx_hal::pac::rtc::calr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CALR
writer
Implementations§
§impl W
impl W
pub fn calp(&mut self) -> BitWriterRaw<'_, u32, CALR_SPEC, CALP_A, BitM, 15>
pub fn calp(&mut self) -> BitWriterRaw<'_, u32, CALR_SPEC, CALP_A, BitM, 15>
Bit 15 - Use an 8-second calibration cycle period
pub fn calw8(&mut self) -> BitWriterRaw<'_, u32, CALR_SPEC, CALW8_A, BitM, 14>
pub fn calw8(&mut self) -> BitWriterRaw<'_, u32, CALR_SPEC, CALW8_A, BitM, 14>
Bit 14 - Use a 16-second calibration cycle period
pub fn lpcal(&mut self) -> BitWriterRaw<'_, u32, CALR_SPEC, LPCAL_A, BitM, 12>
pub fn lpcal(&mut self) -> BitWriterRaw<'_, u32, CALR_SPEC, LPCAL_A, BitM, 12>
Bit 12 - Calibration low-power mode
Methods from Deref<Target = W<CALR_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