[]Struct nucleo_f042k6::comp::csr::_COMP2INSELW

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

Proxy

Methods

impl<'a> _COMP2INSELW<'a>

pub fn variant(self, variant: COMP2INSELW) -> &'a mut W

Writes variant to the field

pub fn one_quarter_vref(self) -> &'a mut W

1/4 of VRefint

pub fn one_half_vref(self) -> &'a mut W

1/2 of VRefint

pub fn three_quarter_vref(self) -> &'a mut W

3/4 of VRefint

pub fn vref(self) -> &'a mut W

VRefint

pub fn comp2_inm4(self) -> &'a mut W

COMP1_INM4 (PA4 with DAC_OUT1 if enabled)

pub fn comp2_inm5(self) -> &'a mut W

COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)

pub fn comp2_inm6(self) -> &'a mut W

COMP1_INM6 (PA2)

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Unpin for _COMP2INSELW<'a>

impl<'a> Sync for _COMP2INSELW<'a>

impl<'a> Send for _COMP2INSELW<'a>

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