stm32f1_staging/stm32f100/rtc/
alrh.rs1pub type W = crate::W<ALRHrs>;
3pub type ALRH_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
5impl core::fmt::Debug for crate::generic::Reg<ALRHrs> {
6 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
7 write!(f, "(not readable)")
8 }
9}
10impl W {
11 #[inline(always)]
13 pub fn alrh(&mut self) -> ALRH_W<ALRHrs> {
14 ALRH_W::new(self, 0)
15 }
16}
17pub struct ALRHrs;
23impl crate::RegisterSpec for ALRHrs {
24 type Ux = u32;
25}
26impl crate::Writable for ALRHrs {
28 type Safety = crate::Unsafe;
29 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
30 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
31}
32impl crate::Resettable for ALRHrs {
34 const RESET_VALUE: u32 = 0xffff;
35}