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