Type Alias W

Source
pub type W = W<GPADC_CONFIG_SPEC>;
Expand description

Register gpadc_config writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn gpadc_32m_clk_div( &mut self, ) -> GPADC_32M_CLK_DIV_W<'_, GPADC_CONFIG_SPEC>

Bits 0:5

Source

pub fn gpadc_32m_clk_sel( &mut self, ) -> GPADC_32M_CLK_SEL_W<'_, GPADC_CONFIG_SPEC>

Bit 7

Source

pub fn gpadc_32m_div_en(&mut self) -> GPADC_32M_DIV_EN_W<'_, GPADC_CONFIG_SPEC>

Bit 8

Source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual