pub type R = crate::R<IOGCRrs>;
pub type CNT_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn cnt(&self) -> CNT_R {
CNT_R::new((self.bits & 0x3fff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IOGCR").field("cnt", &self.cnt()).finish()
}
}
pub struct IOGCRrs;
impl crate::RegisterSpec for IOGCRrs {
type Ux = u32;
}
impl crate::Readable for IOGCRrs {}
impl crate::Resettable for IOGCRrs {
const RESET_VALUE: u32 = 0;
}