[][src]Type Definition lpc82x_pac::wkt::ctrl::W

type W = W<u32, CTRL>;

Writer for register CTRL

Methods

impl W[src]

pub fn clksel(&mut self) -> CLKSEL_W[src]

Bit 0 - Select the self wake-up timer clock source. Remark: This bit only has an effect if the SEL_EXTCLK bit is not set.

pub fn alarmflag(&mut self) -> ALARMFLAG_W[src]

Bit 1 - Wake-up or alarm timer flag.

pub fn clearctr(&mut self) -> CLEARCTR_W[src]

Bit 2 - Clears the self wake-up timer.

pub fn sel_extclk(&mut self) -> SEL_EXTCLK_W[src]

Bit 3 - Select external or internal clock source for the self wake-up timer. The internal clock source is selected by the CLKSEL bit in this register if SET_EXTCLK is set to internal.