1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#[doc = "Reader of register IOG%sCR"]
pub type R = crate::R<u32, super::IOGCR>;
#[doc = "Reader of field `CNT`"]
pub type CNT_R = crate::R<u16, u16>;
impl R {
    #[doc = "Bits 0:13 - Counter value"]
    #[inline(always)]
    pub fn cnt(&self) -> CNT_R {
        CNT_R::new((self.bits & 0x3fff) as u16)
    }
}