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

pub struct W(_);

Register gpadc_reg_config1 writer

Implementations

impl W[src]

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

Bits 29:30

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

Bits 27:28

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

Bit 26

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

Bit 25

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

Bits 21:24

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

Bits 18:20

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

Bit 17

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

Bits 2:4

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

Bit 1

pub fn gpadc_cal_os_en(&mut self) -> GPADC_CAL_OS_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_CONFIG1_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_CONFIG1_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

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