Struct stm32wlxx_hal::pac::rcc::csr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CSR
writer
Implementations§
§impl W
impl W
pub fn rmvf(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, RMVF_A, BitM, 23>
pub fn rmvf(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, RMVF_A, BitM, 23>
Bit 23 - Remove reset flag
pub fn msisrange(
&mut self
) -> FieldWriterRaw<'_, u32, CSR_SPEC, u8, MSISRANGE_A, Unsafe, 4, 8>
pub fn msisrange( &mut self ) -> FieldWriterRaw<'_, u32, CSR_SPEC, u8, MSISRANGE_A, Unsafe, 4, 8>
Bits 8:11 - MSI clock ranges
pub fn lsipre(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, LSIPRE_A, BitM, 4>
pub fn lsipre(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, LSIPRE_A, BitM, 4>
Bit 4 - LSI frequency prescaler
Methods from Deref<Target = W<CSR_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