pub type W = crate::W<IFSrs>;
pub type TxcW<'a, REG> = crate::BitWriter<'a, REG>;
pub type RxofW<'a, REG> = crate::BitWriter<'a, REG>;
pub type RxufW<'a, REG> = crate::BitWriter<'a, REG>;
pub type TxofW<'a, REG> = crate::BitWriter<'a, REG>;
pub type PerrW<'a, REG> = crate::BitWriter<'a, REG>;
pub type FerrW<'a, REG> = crate::BitWriter<'a, REG>;
pub type MpafW<'a, REG> = crate::BitWriter<'a, REG>;
pub type StartfW<'a, REG> = crate::BitWriter<'a, REG>;
pub type SigfW<'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 txc(&mut self) -> TxcW<'_, IFSrs> {
TxcW::new(self, 0)
}
#[inline(always)]
pub fn rxof(&mut self) -> RxofW<'_, IFSrs> {
RxofW::new(self, 3)
}
#[inline(always)]
pub fn rxuf(&mut self) -> RxufW<'_, IFSrs> {
RxufW::new(self, 4)
}
#[inline(always)]
pub fn txof(&mut self) -> TxofW<'_, IFSrs> {
TxofW::new(self, 5)
}
#[inline(always)]
pub fn perr(&mut self) -> PerrW<'_, IFSrs> {
PerrW::new(self, 6)
}
#[inline(always)]
pub fn ferr(&mut self) -> FerrW<'_, IFSrs> {
FerrW::new(self, 7)
}
#[inline(always)]
pub fn mpaf(&mut self) -> MpafW<'_, IFSrs> {
MpafW::new(self, 8)
}
#[inline(always)]
pub fn startf(&mut self) -> StartfW<'_, IFSrs> {
StartfW::new(self, 9)
}
#[inline(always)]
pub fn sigf(&mut self) -> SigfW<'_, IFSrs> {
SigfW::new(self, 10)
}
}
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 {}