[][src]Struct efm32pg12_pac::lesense::ctrl::SCANCONF_W

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

Write proxy for field SCANCONF

Methods

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

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

Writes variant to the field

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

The channel configuration register registers used are directly mapped to the channel number.

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

The channel configuration register registers used are CHX+8_CONF for channels 0-7 and CHX-8_CONF for channels 8-15.

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

The channel configuration register registers used toggles between CHX_CONF and CHX+8_CONF when channel x triggers

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

The decoder state defines the CONF registers to be used.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Unpin for SCANCONF_W<'a>

impl<'a> Send for SCANCONF_W<'a>

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

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<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