pub type W = crate::W<CRrs>;
pub type COREID_W<'a, REG> = crate::FieldWriter<'a, REG, 4, u8, crate::Safe>;
pub type KEY_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
impl core::fmt::Debug for crate::generic::Reg<CRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn coreid(&mut self) -> COREID_W<CRrs> {
COREID_W::new(self, 8)
}
#[inline(always)]
pub fn key(&mut self) -> KEY_W<CRrs> {
KEY_W::new(self, 16)
}
}
pub struct CRrs;
impl crate::RegisterSpec for CRrs {
type Ux = u32;
}
impl crate::Writable for CRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CRrs {}