pub type R = crate::R<IAIERrs>;
pub type W = crate::W<IAIERrs>;
pub type CAEIE_R = crate::BitReader;
pub type CAEIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type IAEIE_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn caeie(&self) -> CAEIE_R {
CAEIE_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn iaeie(&self) -> IAEIE_R {
IAEIE_R::new(((self.bits >> 1) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IAIER")
.field("caeie", &self.caeie())
.field("iaeie", &self.iaeie())
.finish()
}
}
impl W {
#[inline(always)]
pub fn caeie(&mut self) -> CAEIE_W<IAIERrs> {
CAEIE_W::new(self, 0)
}
}
pub struct IAIERrs;
impl crate::RegisterSpec for IAIERrs {
type Ux = u32;
}
impl crate::Readable for IAIERrs {}
impl crate::Writable for IAIERrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IAIERrs {}