[]Struct sodaq_one::adc::avgctrl::_SAMPLENUMW

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

Proxy

Methods

impl<'a> _SAMPLENUMW<'a>

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

Writes variant to the field

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

1 sample

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

2 samples

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

4 samples

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

8 samples

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

16 samples

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

32 samples

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

64 samples

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

128 samples

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

256 samples

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

512 samples

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

1024 samples

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Unpin for _SAMPLENUMW<'a>

impl<'a> Send for _SAMPLENUMW<'a>

impl<'a> Sync for _SAMPLENUMW<'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