1 2 3 4 5 6 7 8 9 10 11
#[doc = "Reader of register TOP"] pub type R = crate::R<u32, super::TOP>; #[doc = "Reader of field `TOP`"] pub type TOP_R = crate::R<u16, u16>; impl R { #[doc = "Bits 0:15 - Counter Top Value"] #[inline(always)] pub fn top(&self) -> TOP_R { TOP_R::new((self.bits & 0xffff) as u16) } }