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