pub type R = crate::R<PIDR3rs>;
pub type CMOD_R = crate::FieldReader;
pub type REVAND_R = crate::FieldReader;
impl R {
#[inline(always)]
pub fn cmod(&self) -> CMOD_R {
CMOD_R::new((self.bits & 0x0f) as u8)
}
#[inline(always)]
pub fn revand(&self) -> REVAND_R {
REVAND_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("PIDR3")
.field("cmod", &self.cmod())
.field("revand", &self.revand())
.finish()
}
}
pub struct PIDR3rs;
impl crate::RegisterSpec for PIDR3rs {
type Ux = u32;
}
impl crate::Readable for PIDR3rs {}
impl crate::Resettable for PIDR3rs {}