pub type W = crate::W<ICRrs>;
pub type ADDRCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type NACKCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type STOPCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type BERRCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ARLOCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type OVRCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type PECCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type TIMOUTCF_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ALERTCF_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 addrcf(&mut self) -> ADDRCF_W<ICRrs> {
ADDRCF_W::new(self, 3)
}
#[inline(always)]
pub fn nackcf(&mut self) -> NACKCF_W<ICRrs> {
NACKCF_W::new(self, 4)
}
#[inline(always)]
pub fn stopcf(&mut self) -> STOPCF_W<ICRrs> {
STOPCF_W::new(self, 5)
}
#[inline(always)]
pub fn berrcf(&mut self) -> BERRCF_W<ICRrs> {
BERRCF_W::new(self, 8)
}
#[inline(always)]
pub fn arlocf(&mut self) -> ARLOCF_W<ICRrs> {
ARLOCF_W::new(self, 9)
}
#[inline(always)]
pub fn ovrcf(&mut self) -> OVRCF_W<ICRrs> {
OVRCF_W::new(self, 10)
}
#[inline(always)]
pub fn peccf(&mut self) -> PECCF_W<ICRrs> {
PECCF_W::new(self, 11)
}
#[inline(always)]
pub fn timoutcf(&mut self) -> TIMOUTCF_W<ICRrs> {
TIMOUTCF_W::new(self, 12)
}
#[inline(always)]
pub fn alertcf(&mut self) -> ALERTCF_W<ICRrs> {
ALERTCF_W::new(self, 13)
}
}
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 {}