pub type R = crate::R<PIDR4rs>;
pub type JEP106CON_R = crate::FieldReader;
pub type SIZE_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn jep106con(&self) -> JEP106CON_R {
JEP106CON_R::new((self.bits & 0x0f) as u8)
}
#[inline(always)]
pub fn size(&self) -> SIZE_R {
SIZE_R::new(((self.bits >> 4) & 0x0f) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("PIDR4")
.field("jep106con", &self.jep106con())
.field("size", &self.size())
.finish()
}
}
pub struct PIDR4rs;
impl crate::RegisterSpec for PIDR4rs {
type Ux = u32;
}
impl crate::Readable for PIDR4rs {}
impl crate::Resettable for PIDR4rs {}