pub type R = crate::R<ISRrs>;
pub type TEIF_R = crate::BitReader;
pub type TCIF_R = crate::BitReader;
pub type TWIF_R = crate::BitReader;
pub type CAEIF_R = crate::BitReader;
pub type CTCIF_R = crate::BitReader;
pub type CEIF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn teif(&self) -> TEIF_R {
TEIF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn tcif(&self) -> TCIF_R {
TCIF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn twif(&self) -> TWIF_R {
TWIF_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn caeif(&self) -> CAEIF_R {
CAEIF_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn ctcif(&self) -> CTCIF_R {
CTCIF_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn ceif(&self) -> CEIF_R {
CEIF_R::new(((self.bits >> 5) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ISR")
.field("ceif", &self.ceif())
.field("ctcif", &self.ctcif())
.field("caeif", &self.caeif())
.field("twif", &self.twif())
.field("tcif", &self.tcif())
.field("teif", &self.teif())
.finish()
}
}
pub struct ISRrs;
impl crate::RegisterSpec for ISRrs {
type Ux = u32;
}
impl crate::Readable for ISRrs {}
impl crate::Resettable for ISRrs {}