1 2 3 4 5 6 7 8 9 10 11
#[doc = "Reader of register CR[%s]"] pub type R = crate::R<u32, super::CR>; #[doc = "Reader of field `CAP`"] pub type CAP_R = crate::R<u32, u32>; impl R { #[doc = "Bits 0:31 - Timer counter capture value."] #[inline(always)] pub fn cap(&self) -> CAP_R { CAP_R::new((self.bits & 0xffff_ffff) as u32) } }