pub type R = crate::R<HISRrs>;
pub type FEIF4_R = crate::BitReader;
pub type DMEIF4_R = crate::BitReader;
pub type TEIF4_R = crate::BitReader;
pub type HTIF4_R = crate::BitReader;
pub type TCIF4_R = crate::BitReader;
pub type FEIF5_R = crate::BitReader;
pub type DMEIF5_R = crate::BitReader;
pub type TEIF5_R = crate::BitReader;
pub type HTIF5_R = crate::BitReader;
pub type TCIF5_R = crate::BitReader;
pub type FEIF6_R = crate::BitReader;
pub type DMEIF6_R = crate::BitReader;
pub type TEIF6_R = crate::BitReader;
pub type HTIF6_R = crate::BitReader;
pub type TCIF6_R = crate::BitReader;
pub type FEIF7_R = crate::BitReader;
pub type DMEIF7_R = crate::BitReader;
pub type TEIF7_R = crate::BitReader;
pub type HTIF7_R = crate::BitReader;
pub type TCIF7_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn feif4(&self) -> FEIF4_R {
FEIF4_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn dmeif4(&self) -> DMEIF4_R {
DMEIF4_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn teif4(&self) -> TEIF4_R {
TEIF4_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn htif4(&self) -> HTIF4_R {
HTIF4_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn tcif4(&self) -> TCIF4_R {
TCIF4_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn feif5(&self) -> FEIF5_R {
FEIF5_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn dmeif5(&self) -> DMEIF5_R {
DMEIF5_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn teif5(&self) -> TEIF5_R {
TEIF5_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn htif5(&self) -> HTIF5_R {
HTIF5_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn tcif5(&self) -> TCIF5_R {
TCIF5_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn feif6(&self) -> FEIF6_R {
FEIF6_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn dmeif6(&self) -> DMEIF6_R {
DMEIF6_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn teif6(&self) -> TEIF6_R {
TEIF6_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn htif6(&self) -> HTIF6_R {
HTIF6_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn tcif6(&self) -> TCIF6_R {
TCIF6_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn feif7(&self) -> FEIF7_R {
FEIF7_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn dmeif7(&self) -> DMEIF7_R {
DMEIF7_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn teif7(&self) -> TEIF7_R {
TEIF7_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn htif7(&self) -> HTIF7_R {
HTIF7_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn tcif7(&self) -> TCIF7_R {
TCIF7_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("HISR")
.field("feif4", &self.feif4())
.field("dmeif4", &self.dmeif4())
.field("teif4", &self.teif4())
.field("htif4", &self.htif4())
.field("tcif4", &self.tcif4())
.field("feif5", &self.feif5())
.field("dmeif5", &self.dmeif5())
.field("teif5", &self.teif5())
.field("htif5", &self.htif5())
.field("tcif5", &self.tcif5())
.field("feif6", &self.feif6())
.field("dmeif6", &self.dmeif6())
.field("teif6", &self.teif6())
.field("htif6", &self.htif6())
.field("tcif6", &self.tcif6())
.field("feif7", &self.feif7())
.field("dmeif7", &self.dmeif7())
.field("teif7", &self.teif7())
.field("htif7", &self.htif7())
.field("tcif7", &self.tcif7())
.finish()
}
}
pub struct HISRrs;
impl crate::RegisterSpec for HISRrs {
type Ux = u32;
}
impl crate::Readable for HISRrs {}
impl crate::Resettable for HISRrs {}