stm32f4_staging/stm32f469/rtc/
ssr.rs

1///Register `SSR` reader
2pub type R = crate::R<SSRrs>;
3///Field `SS` reader - Sub second value
4pub type SS_R = crate::FieldReader<u16>;
5impl R {
6    ///Bits 0:15 - Sub second value
7    #[inline(always)]
8    pub fn ss(&self) -> SS_R {
9        SS_R::new((self.bits & 0xffff) as u16)
10    }
11}
12impl core::fmt::Debug for R {
13    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14        f.debug_struct("SSR").field("ss", &self.ss()).finish()
15    }
16}
17/**sub second register
18
19You can [`read`](crate::Reg::read) this register and get [`ssr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
20
21See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F469.html#RTC:SSR)*/
22pub struct SSRrs;
23impl crate::RegisterSpec for SSRrs {
24    type Ux = u32;
25}
26///`read()` method returns [`ssr::R`](R) reader structure
27impl crate::Readable for SSRrs {}
28///`reset()` method sets SSR to value 0
29impl crate::Resettable for SSRrs {}