[][src]Enum lpc55_pac::adc0::cfg::TPRICTRL_A

#[repr(u8)]pub enum TPRICTRL_A {
    TPRICTRL_0,
    TPRICTRL_1,
    TPRICTRL_2,
}

ADC trigger priority control

Value on reset: 0

Variants

TPRICTRL_0

0: 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.

TPRICTRL_1

1: 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.

TPRICTRL_2

2: 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.

Trait Implementations

impl Clone for TPRICTRL_A[src]

impl Copy for TPRICTRL_A[src]

impl Debug for TPRICTRL_A[src]

impl From<TPRICTRL_A> for u8[src]

impl PartialEq<TPRICTRL_A> for TPRICTRL_A[src]

impl StructuralPartialEq for TPRICTRL_A[src]

Auto Trait Implementations

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.