Skip to main content

W

Type Alias W 

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

Writer for register CTRL

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn enable(&mut self) -> ENABLE_W<'_>

Bit 0 - RTCC Enable

Source

pub fn debugrun(&mut self) -> DEBUGRUN_W<'_>

Bit 2 - Debug Mode Run Enable

Source

pub fn preccv0top(&mut self) -> PRECCV0TOP_W<'_>

Bit 4 - Pre-counter CCV0 Top Value Enable

Source

pub fn ccv1top(&mut self) -> CCV1TOP_W<'_>

Bit 5 - CCV1 Top Value Enable

Source

pub fn cntpresc(&mut self) -> CNTPRESC_W<'_>

Bits 8:11 - Counter Prescaler Value

Source

pub fn cnttick(&mut self) -> CNTTICK_W<'_>

Bit 12 - Counter Prescaler Mode

Source

pub fn oscfdeten(&mut self) -> OSCFDETEN_W<'_>

Bit 15 - Oscillator Failure Detection Enable

Source

pub fn cntmode(&mut self) -> CNTMODE_W<'_>

Bit 16 - Main Counter Mode

Source

pub fn lyearcorrdis(&mut self) -> LYEARCORRDIS_W<'_>

Bit 17 - Leap Year Correction Disabled