[][src]Type Definition stm32wb_pac::adc::ccr::W

type W = W<u32, CCR>;

Writer for register CCR

Implementations

impl W[src]

pub fn vbaten(&mut self) -> VBATEN_W<'_>[src]

Bit 24 - VBAT enable

pub fn tsen(&mut self) -> TSEN_W<'_>[src]

Bit 23 - Temperature sensor enable

pub fn vrefen(&mut self) -> VREFEN_W<'_>[src]

Bit 22 - VREFEN

pub fn presc(&mut self) -> PRESC_W<'_>[src]

Bits 18:21 - ADC prescaler

pub fn ckmode(&mut self) -> CKMODE_W<'_>[src]

Bits 16:17 - ADC clock mode