pub type R = crate::R<APB3FZ1rs>;
pub type W = crate::W<APB3FZ1rs>;
pub type WWDG_R = crate::BitReader;
pub type WWDG_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn wwdg(&self) -> WWDG_R {
WWDG_R::new(((self.bits >> 6) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("APB3FZ1").field("wwdg", &self.wwdg()).finish()
}
}
impl W {
#[inline(always)]
pub fn wwdg(&mut self) -> WWDG_W<APB3FZ1rs> {
WWDG_W::new(self, 6)
}
}
pub struct APB3FZ1rs;
impl crate::RegisterSpec for APB3FZ1rs {
type Ux = u32;
}
impl crate::Readable for APB3FZ1rs {}
impl crate::Writable for APB3FZ1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for APB3FZ1rs {}