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

pub struct W(_);

Register gpadc_reg_cmd writer

Implementations

impl W[src]

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

Bit 30

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

Bits 28:29

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

Bit 27

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

Bit 23

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

Bits 21:22

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

Bit 20

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

Bit 19

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

Bit 18

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

Bit 16

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

Bit 15

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

Bit 14

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

Bit 13

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

Bits 8:12

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

Bits 3:7

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

Bit 2

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

Bit 1

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

Bit 0

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

Writes raw bits to the register.

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

The resulting type after dereferencing.

impl DerefMut for W[src]

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