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