[][src]Struct stm32f3xx_hal_v2::stm32::comp::comp6_csr::COMP6INMSEL_W

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

Write proxy for field COMP6INMSEL

Implementations

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

pub fn variant(
    self,
    variant: COMP6INMSEL_A
) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>
[src]

Writes variant to the field

pub fn one_quarter_vref(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

1/4 of VRefint

pub fn one_half_vref(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

1/2 of VRefint

pub fn three_quarter_vref(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

3/4 of VRefint

pub fn vref(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

VRefint

pub fn pa4_dac1_ch1(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

PA4 or DAC1_CH1 output if enabled

pub fn dac1_ch2(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

DAC1_CH2

pub fn pb15(self) -> &'a mut W<u32, Reg<u32, _COMP6_CSR>>[src]

PB15

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

Writes raw bits to the field

Auto Trait Implementations

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

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

impl<'a> Unpin for COMP6INMSEL_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> Same<T> for T

type Output = T

Should always be Self

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.