[][src]Type Definition lpc54606_pac::rtc::count::W

type W = W<u32, COUNT>;

Writer for register COUNT

Methods

impl W[src]

pub fn val(&mut self) -> VAL_W[src]

Bits 0:31 - A read reflects the current value of the main, 1 Hz RTC timer. A write loads a new initial value into the timer. The RTC counter will count up continuously at a 1 Hz rate once the RTC Software Reset is removed (by clearing bit 0 of the CTRL register). Only write to this register when the RTC_EN bit in the RTC CTRL Register is 0. The counter increments one second after the RTC_EN bit is set.