Struct lpc55_pac::adc0::cfg::TPRICTRL_W[][src]

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

Field TPRICTRL writer - ADC trigger priority control

Implementations

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

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

Writes variant to the field

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

If a higher priority trigger is detected during command processing, the current conversion is aborted and the new command specified by the trigger is started.

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

If a higher priority trigger is received during command processing, the current command is stopped after after completing the current conversion. If averaging is enabled, the averaging loop will be completed. However, CMDHa[LOOP] will be ignored and the higher priority trigger will be serviced.

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

If a higher priority trigger is received during command processing, the current command will be completed (averaging, looping, compare) before servicing the higher priority trigger.

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for TPRICTRL_W<'a>

impl<'a> Sync for TPRICTRL_W<'a>

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