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