pub type R = crate::R<ISRrs>;
pub type LIF_R = crate::BitReader;
pub type FUIF_R = crate::BitReader;
pub type TERRIF_R = crate::BitReader;
pub type RRIF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn lif(&self) -> LIF_R {
LIF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn fuif(&self) -> FUIF_R {
FUIF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn terrif(&self) -> TERRIF_R {
TERRIF_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn rrif(&self) -> RRIF_R {
RRIF_R::new(((self.bits >> 3) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ISR")
.field("lif", &self.lif())
.field("fuif", &self.fuif())
.field("terrif", &self.terrif())
.field("rrif", &self.rrif())
.finish()
}
}
pub struct ISRrs;
impl crate::RegisterSpec for ISRrs {
type Ux = u32;
}
impl crate::Readable for ISRrs {}
impl crate::Resettable for ISRrs {}