pub type W = crate::W<IFSrs>;
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<IFSrs> {
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<'_, IFSrs> {
EraseW::new(self, 0)
}
#[inline(always)]
pub fn write(&mut self) -> WriteW<'_, IFSrs> {
WriteW::new(self, 1)
}
#[inline(always)]
pub fn chof(&mut self) -> ChofW<'_, IFSrs> {
ChofW::new(self, 2)
}
#[inline(always)]
pub fn cmof(&mut self) -> CmofW<'_, IFSrs> {
CmofW::new(self, 3)
}
#[inline(always)]
pub fn pwrupf(&mut self) -> PwrupfW<'_, IFSrs> {
PwrupfW::new(self, 4)
}
#[inline(always)]
pub fn icacherr(&mut self) -> IcacherrW<'_, IFSrs> {
IcacherrW::new(self, 5)
}
}
pub struct IFSrs;
impl crate::RegisterSpec for IFSrs {
type Ux = u32;
}
impl crate::Writable for IFSrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IFSrs {}