pub type R = crate::R<DMAIERrs>;
pub type W = crate::W<DMAIERrs>;
pub type TIE_R = crate::BitReader;
pub type TIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TPSIE_R = crate::BitReader;
pub type TPSIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TBUIE_R = crate::BitReader;
pub type TBUIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TJTIE_R = crate::BitReader;
pub type TJTIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ROIE_R = crate::BitReader;
pub type ROIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TUIE_R = crate::BitReader;
pub type TUIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RIE_R = crate::BitReader;
pub type RIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RBUIE_R = crate::BitReader;
pub type RBUIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RPSIE_R = crate::BitReader;
pub type RPSIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RWTIE_R = crate::BitReader;
pub type RWTIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ETIE_R = crate::BitReader;
pub type ETIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FBEIE_R = crate::BitReader;
pub type FBEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ERIE_R = crate::BitReader;
pub type ERIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type AISE_R = crate::BitReader;
pub type AISE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type NISE_R = crate::BitReader;
pub type NISE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn tie(&self) -> TIE_R {
TIE_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn tpsie(&self) -> TPSIE_R {
TPSIE_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn tbuie(&self) -> TBUIE_R {
TBUIE_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn tjtie(&self) -> TJTIE_R {
TJTIE_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn roie(&self) -> ROIE_R {
ROIE_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn tuie(&self) -> TUIE_R {
TUIE_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn rie(&self) -> RIE_R {
RIE_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn rbuie(&self) -> RBUIE_R {
RBUIE_R::new(((self.bits >> 7) & 1) != 0)
}
#[inline(always)]
pub fn rpsie(&self) -> RPSIE_R {
RPSIE_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn rwtie(&self) -> RWTIE_R {
RWTIE_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn etie(&self) -> ETIE_R {
ETIE_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn fbeie(&self) -> FBEIE_R {
FBEIE_R::new(((self.bits >> 13) & 1) != 0)
}
#[inline(always)]
pub fn erie(&self) -> ERIE_R {
ERIE_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn aise(&self) -> AISE_R {
AISE_R::new(((self.bits >> 15) & 1) != 0)
}
#[inline(always)]
pub fn nise(&self) -> NISE_R {
NISE_R::new(((self.bits >> 16) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DMAIER")
.field("tie", &self.tie())
.field("tpsie", &self.tpsie())
.field("tbuie", &self.tbuie())
.field("tjtie", &self.tjtie())
.field("roie", &self.roie())
.field("tuie", &self.tuie())
.field("rie", &self.rie())
.field("rbuie", &self.rbuie())
.field("rpsie", &self.rpsie())
.field("rwtie", &self.rwtie())
.field("etie", &self.etie())
.field("fbeie", &self.fbeie())
.field("erie", &self.erie())
.field("aise", &self.aise())
.field("nise", &self.nise())
.finish()
}
}
impl W {
#[inline(always)]
pub fn tie(&mut self) -> TIE_W<DMAIERrs> {
TIE_W::new(self, 0)
}
#[inline(always)]
pub fn tpsie(&mut self) -> TPSIE_W<DMAIERrs> {
TPSIE_W::new(self, 1)
}
#[inline(always)]
pub fn tbuie(&mut self) -> TBUIE_W<DMAIERrs> {
TBUIE_W::new(self, 2)
}
#[inline(always)]
pub fn tjtie(&mut self) -> TJTIE_W<DMAIERrs> {
TJTIE_W::new(self, 3)
}
#[inline(always)]
pub fn roie(&mut self) -> ROIE_W<DMAIERrs> {
ROIE_W::new(self, 4)
}
#[inline(always)]
pub fn tuie(&mut self) -> TUIE_W<DMAIERrs> {
TUIE_W::new(self, 5)
}
#[inline(always)]
pub fn rie(&mut self) -> RIE_W<DMAIERrs> {
RIE_W::new(self, 6)
}
#[inline(always)]
pub fn rbuie(&mut self) -> RBUIE_W<DMAIERrs> {
RBUIE_W::new(self, 7)
}
#[inline(always)]
pub fn rpsie(&mut self) -> RPSIE_W<DMAIERrs> {
RPSIE_W::new(self, 8)
}
#[inline(always)]
pub fn rwtie(&mut self) -> RWTIE_W<DMAIERrs> {
RWTIE_W::new(self, 9)
}
#[inline(always)]
pub fn etie(&mut self) -> ETIE_W<DMAIERrs> {
ETIE_W::new(self, 10)
}
#[inline(always)]
pub fn fbeie(&mut self) -> FBEIE_W<DMAIERrs> {
FBEIE_W::new(self, 13)
}
#[inline(always)]
pub fn erie(&mut self) -> ERIE_W<DMAIERrs> {
ERIE_W::new(self, 14)
}
#[inline(always)]
pub fn aise(&mut self) -> AISE_W<DMAIERrs> {
AISE_W::new(self, 15)
}
#[inline(always)]
pub fn nise(&mut self) -> NISE_W<DMAIERrs> {
NISE_W::new(self, 16)
}
}
pub struct DMAIERrs;
impl crate::RegisterSpec for DMAIERrs {
type Ux = u32;
}
impl crate::Readable for DMAIERrs {}
impl crate::Writable for DMAIERrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DMAIERrs {}