[][src]Enum lpc82x_pac::adc0::ctrl::LPWRMODE_A

pub enum LPWRMODE_A {
    LPWRMODE_0,
    LPWRMODE_1,
}

The low-power ADC mode

Value on reset: 0

Variants

LPWRMODE_0

0: The low-power ADC mode is disabled. The analog circuitry remains activated even when no conversions are requested.

LPWRMODE_1

1: The low-power ADC mode is enabled. The analog circuitry is automatically powered-down when no conversions are taking place. When any (hardware or software) triggering event is detected, the analog circuitry is enabled. After the required start-up time, the requested conversion will be launched. Once the conversion completes, the analog-circuitry will again be powered-down provided no further conversions are pending. Using this mode can save an appreciable amount of current (approximately 2.5 mA) when conversions are required relatively infrequently. The penalty for using this mode is an approximately FIFTEEN ADC CLOCK delay (30 clocks in 10-bit mode), based on the frequency specified in the CLKDIV field, from the time the trigger event occurs until sampling of the A/D input commences. Note: This mode will NOT power-up the A/D if the ADC_ENA bit is low.

Trait Implementations

impl From<LPWRMODE_A> for bool[src]

impl Debug for LPWRMODE_A[src]

impl PartialEq<LPWRMODE_A> for LPWRMODE_A[src]

impl Copy for LPWRMODE_A[src]

impl Clone for LPWRMODE_A[src]

Auto Trait Implementations

impl Unpin for LPWRMODE_A

impl Send for LPWRMODE_A

impl Sync for LPWRMODE_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