pub type R = crate::R<CSGCMCCMRrs>;
pub type W = crate::W<CSGCMCCMRrs>;
pub type CSGCMCCMR_R = crate::FieldReader<u32>;
pub type CSGCMCCMR_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn csgcmccmr(&self) -> CSGCMCCMR_R {
CSGCMCCMR_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CSGCMCCMR")
.field("csgcmccmr", &self.csgcmccmr())
.finish()
}
}
impl W {
#[inline(always)]
pub fn csgcmccmr(&mut self) -> CSGCMCCMR_W<CSGCMCCMRrs> {
CSGCMCCMR_W::new(self, 0)
}
}
pub struct CSGCMCCMRrs;
impl crate::RegisterSpec for CSGCMCCMRrs {
type Ux = u32;
}
impl crate::Readable for CSGCMCCMRrs {}
impl crate::Writable for CSGCMCCMRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CSGCMCCMRrs {}