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