pub type W = crate::W<IFCrs>;
pub type EraseW<'a, REG> = crate::BitWriter<'a, REG>;
pub type WriteW<'a, REG> = crate::BitWriter<'a, REG>;
pub type ChofW<'a, REG> = crate::BitWriter<'a, REG>;
pub type CmofW<'a, REG> = crate::BitWriter<'a, REG>;
pub type PwrupfW<'a, REG> = crate::BitWriter<'a, REG>;
pub type IcacherrW<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<IFCrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn erase(&mut self) -> EraseW<'_, IFCrs> {
EraseW::new(self, 0)
}
#[inline(always)]
pub fn write(&mut self) -> WriteW<'_, IFCrs> {
WriteW::new(self, 1)
}
#[inline(always)]
pub fn chof(&mut self) -> ChofW<'_, IFCrs> {
ChofW::new(self, 2)
}
#[inline(always)]
pub fn cmof(&mut self) -> CmofW<'_, IFCrs> {
CmofW::new(self, 3)
}
#[inline(always)]
pub fn pwrupf(&mut self) -> PwrupfW<'_, IFCrs> {
PwrupfW::new(self, 4)
}
#[inline(always)]
pub fn icacherr(&mut self) -> IcacherrW<'_, IFCrs> {
IcacherrW::new(self, 5)
}
}
pub struct IFCrs;
impl crate::RegisterSpec for IFCrs {
type Ux = u32;
}
impl crate::Writable for IFCrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IFCrs {}