Struct stm32g4::stm32g484::adc1::cfgr2::OVSR_W[][src]

pub struct OVSR_W<'a> { /* fields omitted */ }

Write proxy for field OVSR

Implementations

impl<'a> OVSR_W<'a>[src]

pub fn variant(self, variant: OVSR_A) -> &'a mut W[src]

Writes variant to the field

pub fn os2(self) -> &'a mut W[src]

Oversampling ratio of 2

pub fn os4(self) -> &'a mut W[src]

Oversampling ratio of 4

pub fn os8(self) -> &'a mut W[src]

Oversampling ratio of 8

pub fn os16(self) -> &'a mut W[src]

Oversampling ratio of 16

pub fn os32(self) -> &'a mut W[src]

Oversampling ratio of 32

pub fn os64(self) -> &'a mut W[src]

Oversampling ratio of 64

pub fn os128(self) -> &'a mut W[src]

Oversampling ratio of 128

pub fn os256(self) -> &'a mut W[src]

Oversampling ratio of 256

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for OVSR_W<'a>[src]

impl<'a> !Sync for OVSR_W<'a>[src]

impl<'a> Unpin for OVSR_W<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.