[][src]Struct ambiq_apollo3_pac::adc::sl5cfg::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn adsel5(&mut self) -> _ADSEL5W[src]

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

pub fn prmode5(&mut self) -> _PRMODE5W[src]

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

pub fn chsel5(&mut self) -> _CHSEL5W[src]

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

pub fn wcen5(&mut self) -> _WCEN5W[src]

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

pub fn slen5(&mut self) -> _SLEN5W[src]

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

Auto Trait Implementations

impl Send for W

impl Sync for W

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