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