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

pub struct W(_);

Register gpadc_reg_config2 writer

Implementations

impl W[src]

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

Bit 31

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

Bits 28:30

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

Bits 25:27

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

Bits 22:24

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

Bits 19:21

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

Bit 18

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

Bit 17

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

Bits 15:16

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

Bit 14

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

Bit 13

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

Bits 9:12

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

Bits 7:8

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

Bit 6

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

Bit 5

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

Bit 4

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

Bit 3

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

Bit 2

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

Writes raw bits to the register.

Methods from Deref<Target = W<GPADC_REG_CONFIG2_SPEC>>

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

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<GPADC_REG_CONFIG2_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

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

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

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.