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