pub type R = crate::R<CC0_CCVrs>;
pub type W = crate::W<CC0_CCVrs>;
pub type CcvR = crate::FieldReader<u16>;
pub type CcvW<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn ccv(&self) -> CcvR {
CcvR::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for crate::generic::Reg<CC0_CCVrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn ccv(&mut self) -> CcvW<'_, CC0_CCVrs> {
CcvW::new(self, 0)
}
}
pub struct CC0_CCVrs;
impl crate::RegisterSpec for CC0_CCVrs {
type Ux = u32;
}
impl crate::Readable for CC0_CCVrs {}
impl crate::Writable for CC0_CCVrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CC0_CCVrs {}