[][src]Struct stm32g0::stm32g0x1::tim1::af2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn bk2ine(&mut self) -> _BK2INEW[src]

Bit 0 - BRK2 BKIN input enable

pub fn bk2cmp1e(&mut self) -> _BK2CMP1EW[src]

Bit 1 - BRK2 COMP1 enable

pub fn bk2cmp2e(&mut self) -> _BK2CMP2EW[src]

Bit 2 - BRK2 COMP2 enable

pub fn bk2dfbk0e(&mut self) -> _BK2DFBK0EW[src]

Bit 8 - BRK2 DFSDM_BREAK0 enable

pub fn bk2inp(&mut self) -> _BK2INPW[src]

Bit 9 - BRK2 BKIN input polarity

pub fn bk2cmp1p(&mut self) -> _BK2CMP1PW[src]

Bit 10 - BRK2 COMP1 input polarity

pub fn bk2cmp2p(&mut self) -> _BK2CMP2PW[src]

Bit 11 - BRK2 COMP2 input polarity

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self