[−][src]Type Definition lpc55s6x_pac::rtc::subsec::R
type R = R<u32, SUBSEC>;
Reader of register SUBSEC
Methods
impl R
[src]
pub fn subsec(&self) -> SUBSEC_R
[src]
Bits 0:14 - A read reflects the current value of the 32KHz sub-second counter. This counter is cleared whenever the SUBSEC_ENA bit in the RTC_CONTROL register is low. Up-counting at a 32KHz rate commences at the start of the next one-second interval after the SUBSEC_ENA bit is set. This counter must be re-enabled after exiting deep power-down mode or after the main RTC module is disabled and re-enabled. On modules not equipped with a sub-second counter, this register will read-back as all zeroes.