Struct gd32f1::gd32f130::cmp::cs::CMP1MSEL_W[][src]

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

Write proxy for field CMP1MSEL

Implementations

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

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

Writes variant to the field

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

1/4 of VRefint

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

1/2 of VRefint

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

3/4 of VRefint

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

VRefint

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

PA4 (DAC0

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

PA5

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

PA0

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CMP1MSEL_W<'a>

impl<'a> !Sync for CMP1MSEL_W<'a>

impl<'a> Unpin for CMP1MSEL_W<'a>

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.