pub type R = crate::R<ISRrs>;
pub type AFCOF_R = crate::BitReader;
pub type ALCOF_R = crate::BitReader;
pub type TEF_R = crate::BitReader;
pub type AFCC1F_R = crate::BitReader;
pub type ALCC1F_R = crate::BitReader;
pub type ALCC2F_R = crate::BitReader;
pub type RFC1RF_R = crate::BitReader;
pub type RFC2RF_R = crate::BitReader;
pub type EV1F_R = crate::BitReader;
pub type EV2F_R = crate::BitReader;
pub type EV3F_R = crate::BitReader;
pub type EV4F_R = crate::BitReader;
pub type WDGAF_R = crate::BitReader;
pub type WDGPF_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn afcof(&self) -> AFCOF_R {
AFCOF_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn alcof(&self) -> ALCOF_R {
ALCOF_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn tef(&self) -> TEF_R {
TEF_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn afcc1f(&self) -> AFCC1F_R {
AFCC1F_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn alcc1f(&self) -> ALCC1F_R {
ALCC1F_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn alcc2f(&self) -> ALCC2F_R {
ALCC2F_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn rfc1rf(&self) -> RFC1RF_R {
RFC1RF_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn rfc2rf(&self) -> RFC2RF_R {
RFC2RF_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn ev1f(&self) -> EV1F_R {
EV1F_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn ev2f(&self) -> EV2F_R {
EV2F_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn ev3f(&self) -> EV3F_R {
EV3F_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn ev4f(&self) -> EV4F_R {
EV4F_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn wdgaf(&self) -> WDGAF_R {
WDGAF_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn wdgpf(&self) -> WDGPF_R {
WDGPF_R::new(((self.bits >> 25) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("ISR")
.field("afcof", &self.afcof())
.field("alcof", &self.alcof())
.field("tef", &self.tef())
.field("afcc1f", &self.afcc1f())
.field("alcc1f", &self.alcc1f())
.field("alcc2f", &self.alcc2f())
.field("rfc1rf", &self.rfc1rf())
.field("rfc2rf", &self.rfc2rf())
.field("ev1f", &self.ev1f())
.field("ev2f", &self.ev2f())
.field("ev3f", &self.ev3f())
.field("ev4f", &self.ev4f())
.field("wdgaf", &self.wdgaf())
.field("wdgpf", &self.wdgpf())
.finish()
}
}
pub struct ISRrs;
impl crate::RegisterSpec for ISRrs {
type Ux = u32;
}
impl crate::Readable for ISRrs {}
impl crate::Resettable for ISRrs {}