1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#[doc = "Reader of register PP"]
pub type R = crate::R<u32, super::PP>;
#[doc = "Reader of field `CMP0`"]
pub type CMP0_R = crate::R<bool, bool>;
#[doc = "Reader of field `CMP1`"]
pub type CMP1_R = crate::R<bool, bool>;
#[doc = "Reader of field `CMP2`"]
pub type CMP2_R = crate::R<bool, bool>;
#[doc = "Reader of field `C0O`"]
pub type C0O_R = crate::R<bool, bool>;
#[doc = "Reader of field `C1O`"]
pub type C1O_R = crate::R<bool, bool>;
#[doc = "Reader of field `C2O`"]
pub type C2O_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bit 0 - Comparator 0 Present"]
    #[inline(always)]
    pub fn cmp0(&self) -> CMP0_R {
        CMP0_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - Comparator 1 Present"]
    #[inline(always)]
    pub fn cmp1(&self) -> CMP1_R {
        CMP1_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - Comparator 2 Present"]
    #[inline(always)]
    pub fn cmp2(&self) -> CMP2_R {
        CMP2_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 16 - Comparator Output 0 Present"]
    #[inline(always)]
    pub fn c0o(&self) -> C0O_R {
        C0O_R::new(((self.bits >> 16) & 0x01) != 0)
    }
    #[doc = "Bit 17 - Comparator Output 1 Present"]
    #[inline(always)]
    pub fn c1o(&self) -> C1O_R {
        C1O_R::new(((self.bits >> 17) & 0x01) != 0)
    }
    #[doc = "Bit 18 - Comparator Output 2 Present"]
    #[inline(always)]
    pub fn c2o(&self) -> C2O_R {
        C2O_R::new(((self.bits >> 18) & 0x01) != 0)
    }
}