pub type R = crate::R<LISRrs>;
pub type FEIF0_R = crate::BitReader;
pub type DMEIF0_R = crate::BitReader;
pub type TEIF0_R = crate::BitReader;
pub type HTIF0_R = crate::BitReader;
pub type TCIF0_R = crate::BitReader;
pub type FEIF1_R = crate::BitReader;
pub type DMEIF1_R = crate::BitReader;
pub type TEIF1_R = crate::BitReader;
pub type HTIF1_R = crate::BitReader;
pub type TCIF1_R = crate::BitReader;
pub type FEIF2_R = crate::BitReader;
pub type DMEIF2_R = crate::BitReader;
pub type TEIF2_R = crate::BitReader;
pub type HTIF2_R = crate::BitReader;
pub type TCIF2_R = crate::BitReader;
pub type FEIF3_R = crate::BitReader;
pub type DMEIF3_R = crate::BitReader;
pub type TEIF3_R = crate::BitReader;
pub type HTIF3_R = crate::BitReader;
pub type TCIF3_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn feif0(&self) -> FEIF0_R {
FEIF0_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn dmeif0(&self) -> DMEIF0_R {
DMEIF0_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn teif0(&self) -> TEIF0_R {
TEIF0_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn htif0(&self) -> HTIF0_R {
HTIF0_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn tcif0(&self) -> TCIF0_R {
TCIF0_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn feif1(&self) -> FEIF1_R {
FEIF1_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn dmeif1(&self) -> DMEIF1_R {
DMEIF1_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn teif1(&self) -> TEIF1_R {
TEIF1_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn htif1(&self) -> HTIF1_R {
HTIF1_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn tcif1(&self) -> TCIF1_R {
TCIF1_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn feif2(&self) -> FEIF2_R {
FEIF2_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn dmeif2(&self) -> DMEIF2_R {
DMEIF2_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn teif2(&self) -> TEIF2_R {
TEIF2_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn htif2(&self) -> HTIF2_R {
HTIF2_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn tcif2(&self) -> TCIF2_R {
TCIF2_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn feif3(&self) -> FEIF3_R {
FEIF3_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn dmeif3(&self) -> DMEIF3_R {
DMEIF3_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn teif3(&self) -> TEIF3_R {
TEIF3_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn htif3(&self) -> HTIF3_R {
HTIF3_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn tcif3(&self) -> TCIF3_R {
TCIF3_R::new(((self.bits >> 27) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("LISR")
.field("feif0", &self.feif0())
.field("dmeif0", &self.dmeif0())
.field("teif0", &self.teif0())
.field("htif0", &self.htif0())
.field("tcif0", &self.tcif0())
.field("feif1", &self.feif1())
.field("dmeif1", &self.dmeif1())
.field("teif1", &self.teif1())
.field("htif1", &self.htif1())
.field("tcif1", &self.tcif1())
.field("feif2", &self.feif2())
.field("dmeif2", &self.dmeif2())
.field("teif2", &self.teif2())
.field("htif2", &self.htif2())
.field("tcif2", &self.tcif2())
.field("feif3", &self.feif3())
.field("dmeif3", &self.dmeif3())
.field("teif3", &self.teif3())
.field("htif3", &self.htif3())
.field("tcif3", &self.tcif3())
.finish()
}
}
pub struct LISRrs;
impl crate::RegisterSpec for LISRrs {
type Ux = u32;
}
impl crate::Readable for LISRrs {}
impl crate::Resettable for LISRrs {}