[][src]Struct bl602_pac::aon::gpadc_reg_config2::R

pub struct R(_);

Register gpadc_reg_config2 reader

Implementations

impl R[src]

pub fn gpadc_tsvbe_low(&self) -> GPADC_TSVBE_LOW_R[src]

Bit 31

pub fn gpadc_dly_sel(&self) -> GPADC_DLY_SEL_R[src]

Bits 28:30

pub fn gpadc_pga1_gain(&self) -> GPADC_PGA1_GAIN_R[src]

Bits 25:27

pub fn gpadc_pga2_gain(&self) -> GPADC_PGA2_GAIN_R[src]

Bits 22:24

pub fn gpadc_test_sel(&self) -> GPADC_TEST_SEL_R[src]

Bits 19:21

pub fn gpadc_test_en(&self) -> GPADC_TEST_EN_R[src]

Bit 18

pub fn gpadc_bias_sel(&self) -> GPADC_BIAS_SEL_R[src]

Bit 17

pub fn gpadc_chop_mode(&self) -> GPADC_CHOP_MODE_R[src]

Bits 15:16

pub fn gpadc_pga_vcmi_en(&self) -> GPADC_PGA_VCMI_EN_R[src]

Bit 14

pub fn gpadc_pga_en(&self) -> GPADC_PGA_EN_R[src]

Bit 13

pub fn gpadc_pga_os_cal(&self) -> GPADC_PGA_OS_CAL_R[src]

Bits 9:12

pub fn gpadc_pga_vcm(&self) -> GPADC_PGA_VCM_R[src]

Bits 7:8

pub fn gpadc_ts_en(&self) -> GPADC_TS_EN_R[src]

Bit 6

pub fn gpadc_tsext_sel(&self) -> GPADC_TSEXT_SEL_R[src]

Bit 5

pub fn gpadc_vbat_en(&self) -> GPADC_VBAT_EN_R[src]

Bit 4

pub fn gpadc_vref_sel(&self) -> GPADC_VREF_SEL_R[src]

Bit 3

pub fn gpadc_diff_mode(&self) -> GPADC_DIFF_MODE_R[src]

Bit 2

Methods from Deref<Target = R<GPADC_REG_CONFIG2_SPEC>>

pub fn bits(&self) -> REG::Ux[src]

Reads raw bits from register.

Trait Implementations

impl Deref for R[src]

type Target = R<GPADC_REG_CONFIG2_SPEC>

The resulting type after dereferencing.

impl From<R<GPADC_REG_CONFIG2_SPEC>> for R[src]

Auto Trait Implementations

impl Send for R

impl Sync for R

impl Unpin for R

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, 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.