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

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

Write proxy for field PSEL

Methods

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

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

Writes variant to the field

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

Analog input pins disabled.

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

Use analog input 0 as analog input.

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

Use analog input 1 as analog input.

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

Use analog input 2 as analog input.

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

Use analog input 3 as analog input.

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

Use analog input 4 as analog input.

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

Use analog input 5 as analog input.

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

Use analog input 6 as analog input.

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

Use analog input 7 as analog input.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for PSEL_W<'a>

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

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