W

Type Alias W 

Source
pub type W = W<u32, CCR>;
Expand description

Writer for register CCR

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 24 - VBAT enable

Source

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

Bit 23 - Temperature sensor enable

Source

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

Bit 22 - VREFEN

Source

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

Bits 18:21 - ADC prescaler

Source

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

Bits 16:17 - ADC clock mode