Struct stm32wlxx_hal::pac::lpuart::presc::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register PRESC
writer
Implementations§
§impl W
impl W
pub fn prescaler(
&mut self
) -> FieldWriterRaw<'_, u32, PRESC_SPEC, u8, PRESCALER_A, Unsafe, 4, 0>
pub fn prescaler( &mut self ) -> FieldWriterRaw<'_, u32, PRESC_SPEC, u8, PRESCALER_A, Unsafe, 4, 0>
Bits 0:3 - Clock prescaler
Methods from Deref<Target = W<PRESC_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<PRESC_SPEC>> for W
impl From<W<PRESC_SPEC>> for W
§fn from(writer: W<PRESC_SPEC>) -> W
fn from(writer: W<PRESC_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