pub type W = crate::W<ICRrs>;
pub type CLIF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CFUIF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CTERRIF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CRRIF_W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<ICRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn clif(&mut self) -> CLIF_W<ICRrs> {
CLIF_W::new(self, 0)
}
#[inline(always)]
pub fn cfuif(&mut self) -> CFUIF_W<ICRrs> {
CFUIF_W::new(self, 1)
}
#[inline(always)]
pub fn cterrif(&mut self) -> CTERRIF_W<ICRrs> {
CTERRIF_W::new(self, 2)
}
#[inline(always)]
pub fn crrif(&mut self) -> CRRIF_W<ICRrs> {
CRRIF_W::new(self, 3)
}
}
pub struct ICRrs;
impl crate::RegisterSpec for ICRrs {
type Ux = u32;
}
impl crate::Writable for ICRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ICRrs {}