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