[][src]Enum ambiq_apollo1_pac::adc::cfg::LPMODE_A

#[repr(u8)]
pub enum LPMODE_A {
    MODE0,
    MODE1,
    MODE2,
    MODE_UNDEFINED,
}

Select power mode to enter between active scans.

Value on reset: 0

Variants

MODE0

0: Low Power Mode 0 (2'b00). Leaves the ADC fully powered between scans with no latency between a trigger event and sample data collection.

MODE1

1: Low Power Mode 1 (2'b01). Enables a low power mode for the ADC between scans requiring 50us initialization time (latency) between a trigger event and the scan (assuming the HFRC remains running and the MCU is not in deepsleep mode in which case additional startup latency for HFRC startup is required).

MODE2

2: Low Power Mode 2 (2'b10). Disconnects power and clocks to the ADC effectively eliminating all active power associated with the ADC between scans. This mode requires 150us initialization (again, assuming the HFRC remains running and the MCU is not in deepsleep mode in which case additional startup latency for HFRC startup is required).

MODE_UNDEFINED

3: Undefined Mode (2'b11)

Trait Implementations

impl Clone for LPMODE_A[src]

impl Copy for LPMODE_A[src]

impl Debug for LPMODE_A[src]

impl From<LPMODE_A> for u8[src]

impl PartialEq<LPMODE_A> for LPMODE_A[src]

impl StructuralPartialEq for LPMODE_A[src]

Auto Trait Implementations

impl Send for LPMODE_A

impl Sync for LPMODE_A

impl Unpin for LPMODE_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.