[][src]Struct lpc55_pac::adc0::ctrl::CAL_AVGS_W

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

Write proxy for field CAL_AVGS

Implementations

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

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

Writes variant to the field

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

Single conversion.

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

2 conversions averaged.

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

4 conversions averaged.

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

8 conversions averaged.

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

16 conversions averaged.

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

32 conversions averaged.

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

64 conversions averaged.

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

128 conversions averaged.

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

Writes raw bits to the field

Auto Trait Implementations

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

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

impl<'a> Unpin for CAL_AVGS_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, 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.