pub type R = crate::R<DFLT0IERrs>;
pub type W = crate::W<DFLT0IERrs>;
pub type FTHIE_R = crate::BitReader;
pub type FTHIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type DOVRIE_R = crate::BitReader;
pub type DOVRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SATIE_R = crate::BitReader;
pub type SATIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CKABIE_R = crate::BitReader;
pub type CKABIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RFOVRIE_R = crate::BitReader;
pub type RFOVRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SDDETIE_R = crate::BitReader;
pub type SDDETIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type SDLVLIE_R = crate::BitReader;
pub type SDLVLIE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn fthie(&self) -> FTHIE_R {
FTHIE_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn dovrie(&self) -> DOVRIE_R {
DOVRIE_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn satie(&self) -> SATIE_R {
SATIE_R::new(((self.bits >> 9) & 1) != 0)
}
#[inline(always)]
pub fn ckabie(&self) -> CKABIE_R {
CKABIE_R::new(((self.bits >> 10) & 1) != 0)
}
#[inline(always)]
pub fn rfovrie(&self) -> RFOVRIE_R {
RFOVRIE_R::new(((self.bits >> 11) & 1) != 0)
}
#[inline(always)]
pub fn sddetie(&self) -> SDDETIE_R {
SDDETIE_R::new(((self.bits >> 12) & 1) != 0)
}
#[inline(always)]
pub fn sdlvlie(&self) -> SDLVLIE_R {
SDLVLIE_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("DFLT0IER")
.field("fthie", &self.fthie())
.field("dovrie", &self.dovrie())
.field("satie", &self.satie())
.field("ckabie", &self.ckabie())
.field("rfovrie", &self.rfovrie())
.field("sddetie", &self.sddetie())
.field("sdlvlie", &self.sdlvlie())
.finish()
}
}
impl W {
#[inline(always)]
pub fn fthie(&mut self) -> FTHIE_W<DFLT0IERrs> {
FTHIE_W::new(self, 0)
}
#[inline(always)]
pub fn dovrie(&mut self) -> DOVRIE_W<DFLT0IERrs> {
DOVRIE_W::new(self, 1)
}
#[inline(always)]
pub fn satie(&mut self) -> SATIE_W<DFLT0IERrs> {
SATIE_W::new(self, 9)
}
#[inline(always)]
pub fn ckabie(&mut self) -> CKABIE_W<DFLT0IERrs> {
CKABIE_W::new(self, 10)
}
#[inline(always)]
pub fn rfovrie(&mut self) -> RFOVRIE_W<DFLT0IERrs> {
RFOVRIE_W::new(self, 11)
}
#[inline(always)]
pub fn sddetie(&mut self) -> SDDETIE_W<DFLT0IERrs> {
SDDETIE_W::new(self, 12)
}
#[inline(always)]
pub fn sdlvlie(&mut self) -> SDLVLIE_W<DFLT0IERrs> {
SDLVLIE_W::new(self, 13)
}
}
pub struct DFLT0IERrs;
impl crate::RegisterSpec for DFLT0IERrs {
type Ux = u32;
}
impl crate::Readable for DFLT0IERrs {}
impl crate::Writable for DFLT0IERrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DFLT0IERrs {}