pub type R = crate::R<CMIERrs>;
pub type W = crate::W<CMIERrs>;
pub type ATXERRIE_R = crate::BitReader;
pub type ATXERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PRERRIE_R = crate::BitReader;
pub type PRERRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type P0LINEIE_R = crate::BitReader;
pub type P0LINEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type P0FRAMEIE_R = crate::BitReader;
pub type P0FRAMEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type P0VSYNCIE_R = crate::BitReader;
pub type P0VSYNCIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type P0LIMITIE_R = crate::BitReader;
pub type P0LIMITIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type P0OVRIE_R = crate::BitReader;
pub type P0OVRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn atxerrie(&self) -> ATXERRIE_R {
ATXERRIE_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn prerrie(&self) -> PRERRIE_R {
PRERRIE_R::new(((self.bits >> 6) & 1) != 0)
}
#[inline(always)]
pub fn p0lineie(&self) -> P0LINEIE_R {
P0LINEIE_R::new(((self.bits >> 8) & 1) != 0)
}
#[inline(always)]
pub fn p0frameie(&self) -> P0FRAMEIE_R {
P0FRAMEIE_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn p0vsyncie(&self) -> P0VSYNCIE_R {
P0VSYNCIE_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn p0limitie(&self) -> P0LIMITIE_R {
P0LIMITIE_R::new(((self.bits >> 14) & 1) != 0)
}
#[inline(always)]
pub fn p0ovrie(&self) -> P0OVRIE_R {
P0OVRIE_R::new(((self.bits >> 15) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CMIER")
.field("atxerrie", &self.atxerrie())
.field("prerrie", &self.prerrie())
.field("p0lineie", &self.p0lineie())
.field("p0frameie", &self.p0frameie())
.field("p0vsyncie", &self.p0vsyncie())
.field("p0limitie", &self.p0limitie())
.field("p0ovrie", &self.p0ovrie())
.finish()
}
}
impl W {
#[inline(always)]
pub fn atxerrie(&mut self) -> ATXERRIE_W<CMIERrs> {
ATXERRIE_W::new(self, 5)
}
#[inline(always)]
pub fn prerrie(&mut self) -> PRERRIE_W<CMIERrs> {
PRERRIE_W::new(self, 6)
}
#[inline(always)]
pub fn p0lineie(&mut self) -> P0LINEIE_W<CMIERrs> {
P0LINEIE_W::new(self, 8)
}
#[inline(always)]
pub fn p0frameie(&mut self) -> P0FRAMEIE_W<CMIERrs> {
P0FRAMEIE_W::new(self, 9)
}
#[inline(always)]
pub fn p0vsyncie(&mut self) -> P0VSYNCIE_W<CMIERrs> {
P0VSYNCIE_W::new(self, 10)
}
#[inline(always)]
pub fn p0limitie(&mut self) -> P0LIMITIE_W<CMIERrs> {
P0LIMITIE_W::new(self, 14)
}
#[inline(always)]
pub fn p0ovrie(&mut self) -> P0OVRIE_W<CMIERrs> {
P0OVRIE_W::new(self, 15)
}
}
pub struct CMIERrs;
impl crate::RegisterSpec for CMIERrs {
type Ux = u32;
}
impl crate::Readable for CMIERrs {}
impl crate::Writable for CMIERrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CMIERrs {}