stm32f7_staging/stm32f733/syscfg/
cmpcr.rs1pub type R = crate::R<CMPCRrs>;
3pub type CMP_PD_R = crate::BitReader;
5pub type READY_R = crate::BitReader;
7impl R {
8 #[inline(always)]
10 pub fn cmp_pd(&self) -> CMP_PD_R {
11 CMP_PD_R::new((self.bits & 1) != 0)
12 }
13 #[inline(always)]
15 pub fn ready(&self) -> READY_R {
16 READY_R::new(((self.bits >> 8) & 1) != 0)
17 }
18}
19impl core::fmt::Debug for R {
20 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
21 f.debug_struct("CMPCR")
22 .field("ready", &self.ready())
23 .field("cmp_pd", &self.cmp_pd())
24 .finish()
25 }
26}
27pub struct CMPCRrs;
33impl crate::RegisterSpec for CMPCRrs {
34 type Ux = u32;
35}
36impl crate::Readable for CMPCRrs {}
38impl crate::Resettable for CMPCRrs {}