pub type R = crate::R<IErs>;
pub type W = crate::W<IErs>;
pub type RF0NE_R = crate::BitReader;
pub type RF0NE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF0FE_R = crate::BitReader;
pub type RF0FE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF0LE_R = crate::BitReader;
pub type RF0LE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1NE_R = crate::BitReader;
pub type RF1NE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1FE_R = crate::BitReader;
pub type RF1FE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1LE_R = crate::BitReader;
pub type RF1LE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type HPME_R = crate::BitReader;
pub type HPME_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TCE_R = crate::BitReader;
pub type TCE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TCFE_R = crate::BitReader;
pub type TCFE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TFEE_R = crate::BitReader;
pub type TFEE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFNE_R = crate::BitReader;
pub type TEFNE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFFE_R = crate::BitReader;
pub type TEFFE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFLE_R = crate::BitReader;
pub type TEFLE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TSWE_R = crate::BitReader;
pub type TSWE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type MRAFE_R = crate::BitReader;
pub type MRAFE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TOOE_R = crate::BitReader;
pub type TOOE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ELOE_R = crate::BitReader;
pub type ELOE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type EPE_R = crate::BitReader;
pub type EPE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type EWE_R = crate::BitReader;
pub type EWE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type BOE_R = crate::BitReader;
pub type BOE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type WDIE_R = crate::BitReader;
pub type WDIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PEAE_R = crate::BitReader;
pub type PEAE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PEDE_R = crate::BitReader;
pub type PEDE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ARAE_R = crate::BitReader;
pub type ARAE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn rf0ne(&self) -> RF0NE_R {
RF0NE_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn rf0fe(&self) -> RF0FE_R {
RF0FE_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn rf0le(&self) -> RF0LE_R {
RF0LE_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn rf1ne(&self) -> RF1NE_R {
RF1NE_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn rf1fe(&self) -> RF1FE_R {
RF1FE_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn rf1le(&self) -> RF1LE_R {
RF1LE_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn hpme(&self) -> HPME_R {
HPME_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn tce(&self) -> TCE_R {
TCE_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn tcfe(&self) -> TCFE_R {
TCFE_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn tfee(&self) -> TFEE_R {
TFEE_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn tefne(&self) -> TEFNE_R {
TEFNE_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn teffe(&self) -> TEFFE_R {
TEFFE_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn tefle(&self) -> TEFLE_R {
TEFLE_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn tswe(&self) -> TSWE_R {
TSWE_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn mrafe(&self) -> MRAFE_R {
MRAFE_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn tooe(&self) -> TOOE_R {
TOOE_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn eloe(&self) -> ELOE_R {
ELOE_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn epe(&self) -> EPE_R {
EPE_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn ewe(&self) -> EWE_R {
EWE_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn boe(&self) -> BOE_R {
BOE_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn wdie(&self) -> WDIE_R {
WDIE_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn peae(&self) -> PEAE_R {
PEAE_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn pede(&self) -> PEDE_R {
PEDE_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn arae(&self) -> ARAE_R {
ARAE_R::new(((self.bits >> 23) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IE")
.field("rf0ne", &self.rf0ne())
.field("rf0fe", &self.rf0fe())
.field("rf0le", &self.rf0le())
.field("rf1ne", &self.rf1ne())
.field("rf1fe", &self.rf1fe())
.field("rf1le", &self.rf1le())
.field("hpme", &self.hpme())
.field("tce", &self.tce())
.field("tcfe", &self.tcfe())
.field("tfee", &self.tfee())
.field("tefne", &self.tefne())
.field("teffe", &self.teffe())
.field("tefle", &self.tefle())
.field("tswe", &self.tswe())
.field("mrafe", &self.mrafe())
.field("tooe", &self.tooe())
.field("eloe", &self.eloe())
.field("epe", &self.epe())
.field("ewe", &self.ewe())
.field("boe", &self.boe())
.field("wdie", &self.wdie())
.field("peae", &self.peae())
.field("pede", &self.pede())
.field("arae", &self.arae())
.finish()
}
}
impl W {
#[inline(always)]
pub fn rf0ne(&mut self) -> RF0NE_W<IErs> {
RF0NE_W::new(self, 0)
}
#[inline(always)]
pub fn rf0fe(&mut self) -> RF0FE_W<IErs> {
RF0FE_W::new(self, 1)
}
#[inline(always)]
pub fn rf0le(&mut self) -> RF0LE_W<IErs> {
RF0LE_W::new(self, 2)
}
#[inline(always)]
pub fn rf1ne(&mut self) -> RF1NE_W<IErs> {
RF1NE_W::new(self, 3)
}
#[inline(always)]
pub fn rf1fe(&mut self) -> RF1FE_W<IErs> {
RF1FE_W::new(self, 4)
}
#[inline(always)]
pub fn rf1le(&mut self) -> RF1LE_W<IErs> {
RF1LE_W::new(self, 5)
}
#[inline(always)]
pub fn hpme(&mut self) -> HPME_W<IErs> {
HPME_W::new(self, 6)
}
#[inline(always)]
pub fn tce(&mut self) -> TCE_W<IErs> {
TCE_W::new(self, 7)
}
#[inline(always)]
pub fn tcfe(&mut self) -> TCFE_W<IErs> {
TCFE_W::new(self, 8)
}
#[inline(always)]
pub fn tfee(&mut self) -> TFEE_W<IErs> {
TFEE_W::new(self, 9)
}
#[inline(always)]
pub fn tefne(&mut self) -> TEFNE_W<IErs> {
TEFNE_W::new(self, 10)
}
#[inline(always)]
pub fn teffe(&mut self) -> TEFFE_W<IErs> {
TEFFE_W::new(self, 11)
}
#[inline(always)]
pub fn tefle(&mut self) -> TEFLE_W<IErs> {
TEFLE_W::new(self, 12)
}
#[inline(always)]
pub fn tswe(&mut self) -> TSWE_W<IErs> {
TSWE_W::new(self, 13)
}
#[inline(always)]
pub fn mrafe(&mut self) -> MRAFE_W<IErs> {
MRAFE_W::new(self, 14)
}
#[inline(always)]
pub fn tooe(&mut self) -> TOOE_W<IErs> {
TOOE_W::new(self, 15)
}
#[inline(always)]
pub fn eloe(&mut self) -> ELOE_W<IErs> {
ELOE_W::new(self, 16)
}
#[inline(always)]
pub fn epe(&mut self) -> EPE_W<IErs> {
EPE_W::new(self, 17)
}
#[inline(always)]
pub fn ewe(&mut self) -> EWE_W<IErs> {
EWE_W::new(self, 18)
}
#[inline(always)]
pub fn boe(&mut self) -> BOE_W<IErs> {
BOE_W::new(self, 19)
}
#[inline(always)]
pub fn wdie(&mut self) -> WDIE_W<IErs> {
WDIE_W::new(self, 20)
}
#[inline(always)]
pub fn peae(&mut self) -> PEAE_W<IErs> {
PEAE_W::new(self, 21)
}
#[inline(always)]
pub fn pede(&mut self) -> PEDE_W<IErs> {
PEDE_W::new(self, 22)
}
#[inline(always)]
pub fn arae(&mut self) -> ARAE_W<IErs> {
ARAE_W::new(self, 23)
}
}
pub struct IErs;
impl crate::RegisterSpec for IErs {
type Ux = u32;
}
impl crate::Readable for IErs {}
impl crate::Writable for IErs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IErs {}