[][src]Struct ambiq_apollo3_pac::adc::sl4cfg::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn adsel4(&self) -> ADSEL4R[src]

Bits 24:26 - Select the number of measurements to average in the accumulate divide module for this slot.

pub fn prmode4(&self) -> PRMODE4R[src]

Bits 16:17 - Set the Precision Mode For Slot.

pub fn chsel4(&self) -> CHSEL4R[src]

Bits 8:11 - Select one of the 14 channel inputs for this slot.

pub fn wcen4(&self) -> WCEN4R[src]

Bit 1 - This bit enables the window compare function for slot 4.

pub fn slen4(&self) -> SLEN4R[src]

Bit 0 - This bit enables slot 4 for ADC conversions.

Auto Trait Implementations

impl Send for R

impl Sync for R

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