pub type R = crate::R<APB3FZ2rs>;
pub type W = crate::W<APB3FZ2rs>;
pub type WWDG1_R = crate::BitReader;
pub type WWDG1_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn wwdg1(&self) -> WWDG1_R {
WWDG1_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("APB3FZ2").field("wwdg1", &self.wwdg1()).finish()
}
}
impl W {
#[inline(always)]
pub fn wwdg1(&mut self) -> WWDG1_W<APB3FZ2rs> {
WWDG1_W::new(self, 6)
}
}
pub struct APB3FZ2rs;
impl crate::RegisterSpec for APB3FZ2rs {
type Ux = u32;
}
impl crate::Readable for APB3FZ2rs {}
impl crate::Writable for APB3FZ2rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for APB3FZ2rs {}