[][src]Struct stm32f3::stm32f3x8::comp::comp1_csr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

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

Writes raw bits to the register

pub fn comp1en(&mut self) -> _COMP1ENW[src]

Bit 0 - Comparator 1 enable

pub fn comp1_inp_dac(&mut self) -> _COMP1_INP_DACW[src]

Bit 1 - Comparator 1 non inverting input connection to DAC output

pub fn comp1mode(&mut self) -> _COMP1MODEW[src]

Bits 2:3 - Comparator 1 mode

pub fn comp1inmsel(&mut self) -> _COMP1INMSELW[src]

Bits 4:6 - Comparator 1 inverting input selection

pub fn comp1outsel(&mut self) -> _COMP1OUTSELW[src]

Bits 10:13 - Comparator 1 output selection

pub fn comp1pol(&mut self) -> _COMP1POLW[src]

Bit 15 - Comparator 1 output polarity

pub fn comp1hyst(&mut self) -> _COMP1HYSTW[src]

Bits 16:17 - Comparator 1 hysteresis

pub fn comp1_blanking(&mut self) -> _COMP1_BLANKINGW[src]

Bits 18:20 - Comparator 1 blanking source

pub fn comp1lock(&mut self) -> _COMP1LOCKW[src]

Bit 31 - Comparator 1 lock

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send 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