pub type R = crate::R<IPGR2rs>;
pub type W = crate::W<IPGR2rs>;
pub type PSTART_R = crate::BitReader;
pub type PSTART_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn pstart(&self) -> PSTART_R {
PSTART_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("IPGR2").field("pstart", &self.pstart()).finish()
}
}
impl W {
#[inline(always)]
pub fn pstart(&mut self) -> PSTART_W<IPGR2rs> {
PSTART_W::new(self, 0)
}
}
pub struct IPGR2rs;
impl crate::RegisterSpec for IPGR2rs {
type Ux = u32;
}
impl crate::Readable for IPGR2rs {}
impl crate::Writable for IPGR2rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IPGR2rs {}