[][src]Struct ambiq_apollo3_pac::adc::cfg::_LPMODEW

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

Proxy

Methods

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

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

Writes variant to the field

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

Low Power Mode 0. Leaves the ADC fully powered between scans with minimum latency between a trigger event and sample data collection. value.

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

Low Power Mode 1. Powers down all circuity and clocks associated with the ADC until the next trigger event. Between scans, the reference buffer requires up to 50us of delay from a scan trigger event before the conversion will commence while operating in this mode. value.

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

Sets the field bit

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

Clears the field bit

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _LPMODEW<'a>

impl<'a> Sync for _LPMODEW<'a>

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self