pub type R = crate::R<IERrs>;
pub type W = crate::W<IERrs>;
pub type EOPIE_R = crate::BitReader;
pub type EOPIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type WRPERRIE_R = crate::BitReader;
pub type WRPERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PGSERRIE_R = crate::BitReader;
pub type PGSERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type STRBERRIE_R = crate::BitReader;
pub type STRBERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type OBLERRIE_R = crate::BitReader;
pub type OBLERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type INCERRIE_R = crate::BitReader;
pub type INCERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RDSERRIE_R = crate::BitReader;
pub type RDSERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SNECCERRIE_R = crate::BitReader;
pub type SNECCERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type DBECCERRIE_R = crate::BitReader;
pub type DBECCERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CRCENDIE_R = crate::BitReader;
pub type CRCENDIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CRCRDERRIE_R = crate::BitReader;
pub type CRCRDERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn eopie(&self) -> EOPIE_R {
EOPIE_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn wrperrie(&self) -> WRPERRIE_R {
WRPERRIE_R::new(((self.bits >> 17) & 1) != 0)
}
#[inline(always)]
pub fn pgserrie(&self) -> PGSERRIE_R {
PGSERRIE_R::new(((self.bits >> 18) & 1) != 0)
}
#[inline(always)]
pub fn strberrie(&self) -> STRBERRIE_R {
STRBERRIE_R::new(((self.bits >> 19) & 1) != 0)
}
#[inline(always)]
pub fn oblerrie(&self) -> OBLERRIE_R {
OBLERRIE_R::new(((self.bits >> 20) & 1) != 0)
}
#[inline(always)]
pub fn incerrie(&self) -> INCERRIE_R {
INCERRIE_R::new(((self.bits >> 21) & 1) != 0)
}
#[inline(always)]
pub fn rdserrie(&self) -> RDSERRIE_R {
RDSERRIE_R::new(((self.bits >> 24) & 1) != 0)
}
#[inline(always)]
pub fn sneccerrie(&self) -> SNECCERRIE_R {
SNECCERRIE_R::new(((self.bits >> 25) & 1) != 0)
}
#[inline(always)]
pub fn dbeccerrie(&self) -> DBECCERRIE_R {
DBECCERRIE_R::new(((self.bits >> 26) & 1) != 0)
}
#[inline(always)]
pub fn crcendie(&self) -> CRCENDIE_R {
CRCENDIE_R::new(((self.bits >> 27) & 1) != 0)
}
#[inline(always)]
pub fn crcrderrie(&self) -> CRCRDERRIE_R {
CRCRDERRIE_R::new(((self.bits >> 28) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IER")
.field("eopie", &self.eopie())
.field("wrperrie", &self.wrperrie())
.field("pgserrie", &self.pgserrie())
.field("strberrie", &self.strberrie())
.field("oblerrie", &self.oblerrie())
.field("incerrie", &self.incerrie())
.field("rdserrie", &self.rdserrie())
.field("sneccerrie", &self.sneccerrie())
.field("dbeccerrie", &self.dbeccerrie())
.field("crcendie", &self.crcendie())
.field("crcrderrie", &self.crcrderrie())
.finish()
}
}
impl W {
#[inline(always)]
pub fn eopie(&mut self) -> EOPIE_W<IERrs> {
EOPIE_W::new(self, 16)
}
#[inline(always)]
pub fn wrperrie(&mut self) -> WRPERRIE_W<IERrs> {
WRPERRIE_W::new(self, 17)
}
#[inline(always)]
pub fn pgserrie(&mut self) -> PGSERRIE_W<IERrs> {
PGSERRIE_W::new(self, 18)
}
#[inline(always)]
pub fn strberrie(&mut self) -> STRBERRIE_W<IERrs> {
STRBERRIE_W::new(self, 19)
}
#[inline(always)]
pub fn oblerrie(&mut self) -> OBLERRIE_W<IERrs> {
OBLERRIE_W::new(self, 20)
}
#[inline(always)]
pub fn incerrie(&mut self) -> INCERRIE_W<IERrs> {
INCERRIE_W::new(self, 21)
}
#[inline(always)]
pub fn rdserrie(&mut self) -> RDSERRIE_W<IERrs> {
RDSERRIE_W::new(self, 24)
}
#[inline(always)]
pub fn sneccerrie(&mut self) -> SNECCERRIE_W<IERrs> {
SNECCERRIE_W::new(self, 25)
}
#[inline(always)]
pub fn dbeccerrie(&mut self) -> DBECCERRIE_W<IERrs> {
DBECCERRIE_W::new(self, 26)
}
#[inline(always)]
pub fn crcendie(&mut self) -> CRCENDIE_W<IERrs> {
CRCENDIE_W::new(self, 27)
}
#[inline(always)]
pub fn crcrderrie(&mut self) -> CRCRDERRIE_W<IERrs> {
CRCRDERRIE_W::new(self, 28)
}
}
pub struct IERrs;
impl crate::RegisterSpec for IERrs {
type Ux = u32;
}
impl crate::Readable for IERrs {}
impl crate::Writable for IERrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IERrs {}