[][src]Struct nrf52832_hal::pac::lpcomp::psel::PSEL_W

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

Write proxy for field PSEL

Implementations

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

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

Writes variant to the field

pub fn analog_input0(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN0 selected as analog input

pub fn analog_input1(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN1 selected as analog input

pub fn analog_input2(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN2 selected as analog input

pub fn analog_input3(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN3 selected as analog input

pub fn analog_input4(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN4 selected as analog input

pub fn analog_input5(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN5 selected as analog input

pub fn analog_input6(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN6 selected as analog input

pub fn analog_input7(self) -> &'a mut W<u32, Reg<u32, _PSEL>>[src]

AIN7 selected as analog input

pub fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _PSEL>>[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.