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

pub struct R(_);

Register gpadc_reg_cmd reader

Implementations

impl R[src]

pub fn gpadc_sen_test_en(&self) -> GPADC_SEN_TEST_EN_R[src]

Bit 30

pub fn gpadc_sen_sel(&self) -> GPADC_SEN_SEL_R[src]

Bits 28:29

pub fn gpadc_chip_sen_pu(&self) -> GPADC_CHIP_SEN_PU_R[src]

Bit 27

pub fn gpadc_micboost_32db_en(&self) -> GPADC_MICBOOST_32DB_EN_R[src]

Bit 23

pub fn gpadc_mic_pga2_gain(&self) -> GPADC_MIC_PGA2_GAIN_R[src]

Bits 21:22

pub fn gpadc_mic1_diff(&self) -> GPADC_MIC1_DIFF_R[src]

Bit 20

pub fn gpadc_mic2_diff(&self) -> GPADC_MIC2_DIFF_R[src]

Bit 19

pub fn gpadc_dwa_en(&self) -> GPADC_DWA_EN_R[src]

Bit 18

pub fn gpadc_byp_micboost(&self) -> GPADC_BYP_MICBOOST_R[src]

Bit 16

pub fn gpadc_micpga_en(&self) -> GPADC_MICPGA_EN_R[src]

Bit 15

pub fn gpadc_micbias_en(&self) -> GPADC_MICBIAS_EN_R[src]

Bit 14

pub fn gpadc_neg_gnd(&self) -> GPADC_NEG_GND_R[src]

Bit 13

pub fn gpadc_pos_sel(&self) -> GPADC_POS_SEL_R[src]

Bits 8:12

pub fn gpadc_neg_sel(&self) -> GPADC_NEG_SEL_R[src]

Bits 3:7

pub fn gpadc_soft_rst(&self) -> GPADC_SOFT_RST_R[src]

Bit 2

pub fn gpadc_conv_start(&self) -> GPADC_CONV_START_R[src]

Bit 1

pub fn gpadc_global_en(&self) -> GPADC_GLOBAL_EN_R[src]

Bit 0

Methods from Deref<Target = R<GPADC_REG_CMD_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_CMD_SPEC>

The resulting type after dereferencing.

impl From<R<GPADC_REG_CMD_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.