pub type R = crate::R<DIEPEACHMSK1rs>;
pub type W = crate::W<DIEPEACHMSK1rs>;
pub type XFRCM_R = crate::BitReader;
pub type XFRCM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type EPDM_R = crate::BitReader;
pub type EPDM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type AHBERRM_R = crate::BitReader;
pub type AHBERRM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TOM_R = crate::BitReader;
pub type TOM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ITTXFEMSK_R = crate::BitReader;
pub type ITTXFEMSK_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type INEPNEM_R = crate::BitReader;
pub type INEPNEM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TXFURM_R = crate::BitReader;
pub type TXFURM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type BNAM_R = crate::BitReader;
pub type BNAM_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type NAKM_R = crate::BitReader;
pub type NAKM_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn xfrcm(&self) -> XFRCM_R {
XFRCM_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn epdm(&self) -> EPDM_R {
EPDM_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn ahberrm(&self) -> AHBERRM_R {
AHBERRM_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn tom(&self) -> TOM_R {
TOM_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn ittxfemsk(&self) -> ITTXFEMSK_R {
ITTXFEMSK_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn inepnem(&self) -> INEPNEM_R {
INEPNEM_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn txfurm(&self) -> TXFURM_R {
TXFURM_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn bnam(&self) -> BNAM_R {
BNAM_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn nakm(&self) -> NAKM_R {
NAKM_R::new(((self.bits >> 13) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DIEPEACHMSK1")
.field("xfrcm", &self.xfrcm())
.field("epdm", &self.epdm())
.field("ahberrm", &self.ahberrm())
.field("tom", &self.tom())
.field("ittxfemsk", &self.ittxfemsk())
.field("inepnem", &self.inepnem())
.field("txfurm", &self.txfurm())
.field("bnam", &self.bnam())
.field("nakm", &self.nakm())
.finish()
}
}
impl W {
#[inline(always)]
pub fn xfrcm(&mut self) -> XFRCM_W<DIEPEACHMSK1rs> {
XFRCM_W::new(self, 0)
}
#[inline(always)]
pub fn epdm(&mut self) -> EPDM_W<DIEPEACHMSK1rs> {
EPDM_W::new(self, 1)
}
#[inline(always)]
pub fn ahberrm(&mut self) -> AHBERRM_W<DIEPEACHMSK1rs> {
AHBERRM_W::new(self, 2)
}
#[inline(always)]
pub fn tom(&mut self) -> TOM_W<DIEPEACHMSK1rs> {
TOM_W::new(self, 3)
}
#[inline(always)]
pub fn ittxfemsk(&mut self) -> ITTXFEMSK_W<DIEPEACHMSK1rs> {
ITTXFEMSK_W::new(self, 4)
}
#[inline(always)]
pub fn inepnem(&mut self) -> INEPNEM_W<DIEPEACHMSK1rs> {
INEPNEM_W::new(self, 6)
}
#[inline(always)]
pub fn txfurm(&mut self) -> TXFURM_W<DIEPEACHMSK1rs> {
TXFURM_W::new(self, 8)
}
#[inline(always)]
pub fn bnam(&mut self) -> BNAM_W<DIEPEACHMSK1rs> {
BNAM_W::new(self, 9)
}
#[inline(always)]
pub fn nakm(&mut self) -> NAKM_W<DIEPEACHMSK1rs> {
NAKM_W::new(self, 13)
}
}
pub struct DIEPEACHMSK1rs;
impl crate::RegisterSpec for DIEPEACHMSK1rs {
type Ux = u32;
}
impl crate::Readable for DIEPEACHMSK1rs {}
impl crate::Writable for DIEPEACHMSK1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DIEPEACHMSK1rs {}