[][src]Struct nrf51::adc::config::INPSEL_W

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

Write proxy for field INPSEL

Methods

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

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

Writes variant to the field

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

Analog input specified by PSEL with no prescaling used as input for the conversion.

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

Analog input specified by PSEL with 2/3 prescaling used as input for the conversion.

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

Analog input specified by PSEL with 1/3 prescaling used as input for the conversion.

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

Supply voltage with 2/3 prescaling used as input for the conversion.

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

Supply voltage with 1/3 prescaling used as input for the conversion.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for INPSEL_W<'a>

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

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