pub type R = crate::R<IRrs>;
pub type W = crate::W<IRrs>;
pub type RF0N_R = crate::BitReader;
pub type RF0N_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF0W_R = crate::BitReader;
pub type RF0W_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF0F_R = crate::BitReader;
pub type RF0F_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF0L_R = crate::BitReader;
pub type RF0L_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1N_R = crate::BitReader;
pub type RF1N_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1W_R = crate::BitReader;
pub type RF1W_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1F_R = crate::BitReader;
pub type RF1F_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RF1L_R = crate::BitReader;
pub type RF1L_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type HPM_R = crate::BitReader;
pub type HPM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TC_R = crate::BitReader;
pub type TC_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TCF_R = crate::BitReader;
pub type TCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEF_R = crate::BitReader;
pub type TEF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFN_R = crate::BitReader;
pub type TEFN_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFW_R = crate::BitReader;
pub type TEFW_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFF_R = crate::BitReader;
pub type TEFF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TEFL_R = crate::BitReader;
pub type TEFL_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TSW_R = crate::BitReader;
pub type TSW_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type MRAF_R = crate::BitReader;
pub type MRAF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TOO_R = crate::BitReader;
pub type TOO_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type DRX_R = crate::BitReader;
pub type DRX_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ELO_R = crate::BitReader;
pub type ELO_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type EP_R = crate::BitReader;
pub type EP_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type EW_R = crate::BitReader;
pub type EW_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type BO_R = crate::BitReader;
pub type BO_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type WDI_R = crate::BitReader;
pub type WDI_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PEA_R = crate::BitReader;
pub type PEA_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PED_R = crate::BitReader;
pub type PED_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ARA_R = crate::BitReader;
pub type ARA_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn rf0n(&self) -> RF0N_R {
RF0N_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn rf0w(&self) -> RF0W_R {
RF0W_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn rf0f(&self) -> RF0F_R {
RF0F_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn rf0l(&self) -> RF0L_R {
RF0L_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn rf1n(&self) -> RF1N_R {
RF1N_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn rf1w(&self) -> RF1W_R {
RF1W_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn rf1f(&self) -> RF1F_R {
RF1F_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn rf1l(&self) -> RF1L_R {
RF1L_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn hpm(&self) -> HPM_R {
HPM_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn tc(&self) -> TC_R {
TC_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn tcf(&self) -> TCF_R {
TCF_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn tef(&self) -> TEF_R {
TEF_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn tefn(&self) -> TEFN_R {
TEFN_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn tefw(&self) -> TEFW_R {
TEFW_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn teff(&self) -> TEFF_R {
TEFF_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn tefl(&self) -> TEFL_R {
TEFL_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn tsw(&self) -> TSW_R {
TSW_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn mraf(&self) -> MRAF_R {
MRAF_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn too(&self) -> TOO_R {
TOO_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn drx(&self) -> DRX_R {
DRX_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn elo(&self) -> ELO_R {
ELO_R::new(((self.bits >> 22) & 1) != 0)
}
#[inline(always)]
pub fn ep(&self) -> EP_R {
EP_R::new(((self.bits >> 23) & 1) != 0)
}
#[inline(always)]
pub fn ew(&self) -> EW_R {
EW_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn bo(&self) -> BO_R {
BO_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn wdi(&self) -> WDI_R {
WDI_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn pea(&self) -> PEA_R {
PEA_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn ped(&self) -> PED_R {
PED_R::new(((self.bits >> 28) & 1) != 0)
}
#[inline(always)]
pub fn ara(&self) -> ARA_R {
ARA_R::new(((self.bits >> 29) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IR")
.field("rf0n", &self.rf0n())
.field("rf0w", &self.rf0w())
.field("rf0f", &self.rf0f())
.field("rf0l", &self.rf0l())
.field("rf1n", &self.rf1n())
.field("rf1w", &self.rf1w())
.field("rf1f", &self.rf1f())
.field("rf1l", &self.rf1l())
.field("hpm", &self.hpm())
.field("tc", &self.tc())
.field("tcf", &self.tcf())
.field("tef", &self.tef())
.field("tefn", &self.tefn())
.field("tefw", &self.tefw())
.field("teff", &self.teff())
.field("tefl", &self.tefl())
.field("tsw", &self.tsw())
.field("mraf", &self.mraf())
.field("too", &self.too())
.field("drx", &self.drx())
.field("elo", &self.elo())
.field("ep", &self.ep())
.field("ew", &self.ew())
.field("bo", &self.bo())
.field("wdi", &self.wdi())
.field("pea", &self.pea())
.field("ped", &self.ped())
.field("ara", &self.ara())
.finish()
}
}
impl W {
#[inline(always)]
pub fn rf0n(&mut self) -> RF0N_W<IRrs> {
RF0N_W::new(self, 0)
}
#[inline(always)]
pub fn rf0w(&mut self) -> RF0W_W<IRrs> {
RF0W_W::new(self, 1)
}
#[inline(always)]
pub fn rf0f(&mut self) -> RF0F_W<IRrs> {
RF0F_W::new(self, 2)
}
#[inline(always)]
pub fn rf0l(&mut self) -> RF0L_W<IRrs> {
RF0L_W::new(self, 3)
}
#[inline(always)]
pub fn rf1n(&mut self) -> RF1N_W<IRrs> {
RF1N_W::new(self, 4)
}
#[inline(always)]
pub fn rf1w(&mut self) -> RF1W_W<IRrs> {
RF1W_W::new(self, 5)
}
#[inline(always)]
pub fn rf1f(&mut self) -> RF1F_W<IRrs> {
RF1F_W::new(self, 6)
}
#[inline(always)]
pub fn rf1l(&mut self) -> RF1L_W<IRrs> {
RF1L_W::new(self, 7)
}
#[inline(always)]
pub fn hpm(&mut self) -> HPM_W<IRrs> {
HPM_W::new(self, 8)
}
#[inline(always)]
pub fn tc(&mut self) -> TC_W<IRrs> {
TC_W::new(self, 9)
}
#[inline(always)]
pub fn tcf(&mut self) -> TCF_W<IRrs> {
TCF_W::new(self, 10)
}
#[inline(always)]
pub fn tef(&mut self) -> TEF_W<IRrs> {
TEF_W::new(self, 11)
}
#[inline(always)]
pub fn tefn(&mut self) -> TEFN_W<IRrs> {
TEFN_W::new(self, 12)
}
#[inline(always)]
pub fn tefw(&mut self) -> TEFW_W<IRrs> {
TEFW_W::new(self, 13)
}
#[inline(always)]
pub fn teff(&mut self) -> TEFF_W<IRrs> {
TEFF_W::new(self, 14)
}
#[inline(always)]
pub fn tefl(&mut self) -> TEFL_W<IRrs> {
TEFL_W::new(self, 15)
}
#[inline(always)]
pub fn tsw(&mut self) -> TSW_W<IRrs> {
TSW_W::new(self, 16)
}
#[inline(always)]
pub fn mraf(&mut self) -> MRAF_W<IRrs> {
MRAF_W::new(self, 17)
}
#[inline(always)]
pub fn too(&mut self) -> TOO_W<IRrs> {
TOO_W::new(self, 18)
}
#[inline(always)]
pub fn drx(&mut self) -> DRX_W<IRrs> {
DRX_W::new(self, 19)
}
#[inline(always)]
pub fn elo(&mut self) -> ELO_W<IRrs> {
ELO_W::new(self, 22)
}
#[inline(always)]
pub fn ep(&mut self) -> EP_W<IRrs> {
EP_W::new(self, 23)
}
#[inline(always)]
pub fn ew(&mut self) -> EW_W<IRrs> {
EW_W::new(self, 24)
}
#[inline(always)]
pub fn bo(&mut self) -> BO_W<IRrs> {
BO_W::new(self, 25)
}
#[inline(always)]
pub fn wdi(&mut self) -> WDI_W<IRrs> {
WDI_W::new(self, 26)
}
#[inline(always)]
pub fn pea(&mut self) -> PEA_W<IRrs> {
PEA_W::new(self, 27)
}
#[inline(always)]
pub fn ped(&mut self) -> PED_W<IRrs> {
PED_W::new(self, 28)
}
#[inline(always)]
pub fn ara(&mut self) -> ARA_W<IRrs> {
ARA_W::new(self, 29)
}
}
pub struct IRrs;
impl crate::RegisterSpec for IRrs {
type Ux = u32;
}
impl crate::Readable for IRrs {}
impl crate::Writable for IRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IRrs {}