pub type R = crate::R<BIMrs>;
pub type W = crate::W<BIMrs>;
pub type OVRUDRIE_R = crate::BitReader;
pub type OVRUDRIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type MUTEDETIE_R = crate::BitReader;
pub type MUTEDETIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type WCKCFGIE_R = crate::BitReader;
pub type WCKCFGIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type FREQIE_R = crate::BitReader;
pub type FREQIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CNRDYIE_R = crate::BitReader;
pub type CNRDYIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type AFSDETIE_R = crate::BitReader;
pub type AFSDETIE_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type LFSDETIE_R = crate::BitReader;
pub type LFSDETIE_W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn ovrudrie(&self) -> OVRUDRIE_R {
OVRUDRIE_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn mutedetie(&self) -> MUTEDETIE_R {
MUTEDETIE_R::new(((self.bits >> 1) & 1) != 0)
}
#[inline(always)]
pub fn wckcfgie(&self) -> WCKCFGIE_R {
WCKCFGIE_R::new(((self.bits >> 2) & 1) != 0)
}
#[inline(always)]
pub fn freqie(&self) -> FREQIE_R {
FREQIE_R::new(((self.bits >> 3) & 1) != 0)
}
#[inline(always)]
pub fn cnrdyie(&self) -> CNRDYIE_R {
CNRDYIE_R::new(((self.bits >> 4) & 1) != 0)
}
#[inline(always)]
pub fn afsdetie(&self) -> AFSDETIE_R {
AFSDETIE_R::new(((self.bits >> 5) & 1) != 0)
}
#[inline(always)]
pub fn lfsdetie(&self) -> LFSDETIE_R {
LFSDETIE_R::new(((self.bits >> 6) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("BIM")
.field("ovrudrie", &self.ovrudrie())
.field("mutedetie", &self.mutedetie())
.field("wckcfgie", &self.wckcfgie())
.field("freqie", &self.freqie())
.field("cnrdyie", &self.cnrdyie())
.field("afsdetie", &self.afsdetie())
.field("lfsdetie", &self.lfsdetie())
.finish()
}
}
impl W {
#[inline(always)]
pub fn ovrudrie(&mut self) -> OVRUDRIE_W<BIMrs> {
OVRUDRIE_W::new(self, 0)
}
#[inline(always)]
pub fn mutedetie(&mut self) -> MUTEDETIE_W<BIMrs> {
MUTEDETIE_W::new(self, 1)
}
#[inline(always)]
pub fn wckcfgie(&mut self) -> WCKCFGIE_W<BIMrs> {
WCKCFGIE_W::new(self, 2)
}
#[inline(always)]
pub fn freqie(&mut self) -> FREQIE_W<BIMrs> {
FREQIE_W::new(self, 3)
}
#[inline(always)]
pub fn cnrdyie(&mut self) -> CNRDYIE_W<BIMrs> {
CNRDYIE_W::new(self, 4)
}
#[inline(always)]
pub fn afsdetie(&mut self) -> AFSDETIE_W<BIMrs> {
AFSDETIE_W::new(self, 5)
}
#[inline(always)]
pub fn lfsdetie(&mut self) -> LFSDETIE_W<BIMrs> {
LFSDETIE_W::new(self, 6)
}
}
pub struct BIMrs;
impl crate::RegisterSpec for BIMrs {
type Ux = u32;
}
impl crate::Readable for BIMrs {}
impl crate::Writable for BIMrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for BIMrs {}