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