Struct stm32wlxx_hal::pac::adc::cfgr2::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CFGR2
writer
Implementations§
§impl W
impl W
pub fn ovse(&mut self) -> BitWriterRaw<'_, u32, CFGR2_SPEC, OVSE_A, BitM, 0>
pub fn ovse(&mut self) -> BitWriterRaw<'_, u32, CFGR2_SPEC, OVSE_A, BitM, 0>
Bit 0 - OVSE
pub fn tovs(&mut self) -> BitWriterRaw<'_, u32, CFGR2_SPEC, TOVS_A, BitM, 9>
pub fn tovs(&mut self) -> BitWriterRaw<'_, u32, CFGR2_SPEC, TOVS_A, BitM, 9>
Bit 9 - TOVS
pub fn lftrig(
&mut self
) -> BitWriterRaw<'_, u32, CFGR2_SPEC, LFTRIG_A, BitM, 29>
pub fn lftrig( &mut self ) -> BitWriterRaw<'_, u32, CFGR2_SPEC, LFTRIG_A, BitM, 29>
Bit 29 - LFTRIG
pub fn ckmode(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR2_SPEC, u8, CKMODE_A, Safe, 2, 30>
pub fn ckmode( &mut self ) -> FieldWriterRaw<'_, u32, CFGR2_SPEC, u8, CKMODE_A, Safe, 2, 30>
Bits 30:31 - CKMODE
pub fn ovss(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR2_SPEC, u8, OVSS_A, Unsafe, 4, 5>
pub fn ovss( &mut self ) -> FieldWriterRaw<'_, u32, CFGR2_SPEC, u8, OVSS_A, Unsafe, 4, 5>
Bits 5:8 - OVSS0
pub fn ovsr(
&mut self
) -> FieldWriterRaw<'_, u32, CFGR2_SPEC, u8, OVSR_A, Safe, 3, 2>
pub fn ovsr( &mut self ) -> FieldWriterRaw<'_, u32, CFGR2_SPEC, u8, OVSR_A, Safe, 3, 2>
Bits 2:4 - OVSR0
Methods from Deref<Target = W<CFGR2_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<CFGR2_SPEC>> for W
impl From<W<CFGR2_SPEC>> for W
§fn from(writer: W<CFGR2_SPEC>) -> W
fn from(writer: W<CFGR2_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