pub type R = crate::R<DEACHINTMSKrs>;
pub type W = crate::W<DEACHINTMSKrs>;
pub type IEP1INTM_R = crate::BitReader;
pub type IEP1INTM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type OEP1INTM_R = crate::BitReader;
pub type OEP1INTM_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn iep1intm(&self) -> IEP1INTM_R {
IEP1INTM_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn oep1intm(&self) -> OEP1INTM_R {
OEP1INTM_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("DEACHINTMSK")
.field("iep1intm", &self.iep1intm())
.field("oep1intm", &self.oep1intm())
.finish()
}
}
impl W {
#[inline(always)]
pub fn iep1intm(&mut self) -> IEP1INTM_W<DEACHINTMSKrs> {
IEP1INTM_W::new(self, 1)
}
#[inline(always)]
pub fn oep1intm(&mut self) -> OEP1INTM_W<DEACHINTMSKrs> {
OEP1INTM_W::new(self, 17)
}
}
pub struct DEACHINTMSKrs;
impl crate::RegisterSpec for DEACHINTMSKrs {
type Ux = u32;
}
impl crate::Readable for DEACHINTMSKrs {}
impl crate::Writable for DEACHINTMSKrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DEACHINTMSKrs {}