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

pub struct R(_);

Register gpadc_reg_config1 reader

Implementations

impl R[src]

pub fn gpadc_v18_sel(&self) -> GPADC_V18_SEL_R[src]

Bits 29:30

pub fn gpadc_v11_sel(&self) -> GPADC_V11_SEL_R[src]

Bits 27:28

pub fn gpadc_dither_en(&self) -> GPADC_DITHER_EN_R[src]

Bit 26

pub fn gpadc_scan_en(&self) -> GPADC_SCAN_EN_R[src]

Bit 25

pub fn gpadc_scan_length(&self) -> GPADC_SCAN_LENGTH_R[src]

Bits 21:24

pub fn gpadc_clk_div_ratio(&self) -> GPADC_CLK_DIV_RATIO_R[src]

Bits 18:20

pub fn gpadc_clk_ana_inv(&self) -> GPADC_CLK_ANA_INV_R[src]

Bit 17

pub fn gpadc_res_sel(&self) -> GPADC_RES_SEL_R[src]

Bits 2:4

pub fn gpadc_cont_conv_en(&self) -> GPADC_CONT_CONV_EN_R[src]

Bit 1

pub fn gpadc_cal_os_en(&self) -> GPADC_CAL_OS_EN_R[src]

Bit 0

Methods from Deref<Target = R<GPADC_REG_CONFIG1_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_CONFIG1_SPEC>

The resulting type after dereferencing.

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