pub type W = crate::W<IFSrs>;
pub type Comp0W<'a, REG> = crate::BitWriter<'a, REG>;
pub type Comp1W<'a, REG> = crate::BitWriter<'a, REG>;
pub type UfW<'a, REG> = crate::BitWriter<'a, REG>;
pub type Rep0W<'a, REG> = crate::BitWriter<'a, REG>;
pub type Rep1W<'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 comp0(&mut self) -> Comp0W<'_, IFSrs> {
Comp0W::new(self, 0)
}
#[inline(always)]
pub fn comp1(&mut self) -> Comp1W<'_, IFSrs> {
Comp1W::new(self, 1)
}
#[inline(always)]
pub fn uf(&mut self) -> UfW<'_, IFSrs> {
UfW::new(self, 2)
}
#[inline(always)]
pub fn rep0(&mut self) -> Rep0W<'_, IFSrs> {
Rep0W::new(self, 3)
}
#[inline(always)]
pub fn rep1(&mut self) -> Rep1W<'_, IFSrs> {
Rep1W::new(self, 4)
}
}
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 {}