[][src]Struct ambiq_apollo1_pac::adc::sl1cfg::CHSEL1_W

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

Write proxy for field CHSEL1

Methods

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

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

Writes variant to the field

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

ADC_EXT0 external GPIO pin connection.

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

ADC_EXT1 external GPIO pin connection.

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

ADC_EXT2 external GPIO pin connection.

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

ADC_EXT3 external GPIO pin connection.

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

ADC_EXT4 external GPIO pin connection.

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

ADC_EXT5 external GPIO pin connection.

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

ADC_EXT6 external GPIO pin connection.

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

ADC_EXT7 external GPIO pin connection.

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

ADC_TEMP internal temperature sensor.

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

ADC_VDD internal power rail connection.

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

ADC_VSS internal ground connection.

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

ADC_VBATT internal voltage divide-by-3 connection to input power rail.

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CHSEL1_W<'a>

impl<'a> !Sync for CHSEL1_W<'a>

impl<'a> Unpin for CHSEL1_W<'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.