pub type W = crate::W<CCRrs>;
pub type CLR_EOP_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_WRPERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_PGSERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_STRBERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_INCERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_RDPERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_RDSERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_SNECCERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_DBECCERR_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_CRCEND_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type CLR_CRCRDERR_W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<CCRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn clr_eop(&mut self) -> CLR_EOP_W<CCRrs> {
CLR_EOP_W::new(self, 16)
}
#[inline(always)]
pub fn clr_wrperr(&mut self) -> CLR_WRPERR_W<CCRrs> {
CLR_WRPERR_W::new(self, 17)
}
#[inline(always)]
pub fn clr_pgserr(&mut self) -> CLR_PGSERR_W<CCRrs> {
CLR_PGSERR_W::new(self, 18)
}
#[inline(always)]
pub fn clr_strberr(&mut self) -> CLR_STRBERR_W<CCRrs> {
CLR_STRBERR_W::new(self, 19)
}
#[inline(always)]
pub fn clr_incerr(&mut self) -> CLR_INCERR_W<CCRrs> {
CLR_INCERR_W::new(self, 21)
}
#[inline(always)]
pub fn clr_rdperr(&mut self) -> CLR_RDPERR_W<CCRrs> {
CLR_RDPERR_W::new(self, 23)
}
#[inline(always)]
pub fn clr_rdserr(&mut self) -> CLR_RDSERR_W<CCRrs> {
CLR_RDSERR_W::new(self, 24)
}
#[inline(always)]
pub fn clr_sneccerr(&mut self) -> CLR_SNECCERR_W<CCRrs> {
CLR_SNECCERR_W::new(self, 25)
}
#[inline(always)]
pub fn clr_dbeccerr(&mut self) -> CLR_DBECCERR_W<CCRrs> {
CLR_DBECCERR_W::new(self, 26)
}
#[inline(always)]
pub fn clr_crcend(&mut self) -> CLR_CRCEND_W<CCRrs> {
CLR_CRCEND_W::new(self, 27)
}
#[inline(always)]
pub fn clr_crcrderr(&mut self) -> CLR_CRCRDERR_W<CCRrs> {
CLR_CRCRDERR_W::new(self, 28)
}
}
pub struct CCRrs;
impl crate::RegisterSpec for CCRrs {
type Ux = u32;
}
impl crate::Writable for CCRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CCRrs {}