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