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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#[doc = "Reader of register DFSDM0_ISR"]
pub type R = crate::R<u32, super::DFSDM0_ISR>;
#[doc = "Reader of field `JEOCF`"]
pub type JEOCF_R = crate::R<bool, bool>;
#[doc = "Reader of field `REOCF`"]
pub type REOCF_R = crate::R<bool, bool>;
#[doc = "Reader of field `JOVRF`"]
pub type JOVRF_R = crate::R<bool, bool>;
#[doc = "Reader of field `ROVRF`"]
pub type ROVRF_R = crate::R<bool, bool>;
#[doc = "Reader of field `AWDF`"]
pub type AWDF_R = crate::R<bool, bool>;
#[doc = "Reader of field `JCIP`"]
pub type JCIP_R = crate::R<bool, bool>;
#[doc = "Reader of field `RCIP`"]
pub type RCIP_R = crate::R<bool, bool>;
#[doc = "Reader of field `CKABF`"]
pub type CKABF_R = crate::R<u8, u8>;
#[doc = "Reader of field `SCDF`"]
pub type SCDF_R = crate::R<u8, u8>;
impl R {
    #[doc = "Bit 0 - End of injected conversion flag"]
    #[inline(always)]
    pub fn jeocf(&self) -> JEOCF_R {
        JEOCF_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - End of regular conversion flag"]
    #[inline(always)]
    pub fn reocf(&self) -> REOCF_R {
        REOCF_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - Injected conversion overrun flag"]
    #[inline(always)]
    pub fn jovrf(&self) -> JOVRF_R {
        JOVRF_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 3 - Regular conversion overrun flag"]
    #[inline(always)]
    pub fn rovrf(&self) -> ROVRF_R {
        ROVRF_R::new(((self.bits >> 3) & 0x01) != 0)
    }
    #[doc = "Bit 4 - Analog watchdog"]
    #[inline(always)]
    pub fn awdf(&self) -> AWDF_R {
        AWDF_R::new(((self.bits >> 4) & 0x01) != 0)
    }
    #[doc = "Bit 13 - Injected conversion in progress status"]
    #[inline(always)]
    pub fn jcip(&self) -> JCIP_R {
        JCIP_R::new(((self.bits >> 13) & 0x01) != 0)
    }
    #[doc = "Bit 14 - Regular conversion in progress status"]
    #[inline(always)]
    pub fn rcip(&self) -> RCIP_R {
        RCIP_R::new(((self.bits >> 14) & 0x01) != 0)
    }
    #[doc = "Bits 16:23 - Clock absence flag"]
    #[inline(always)]
    pub fn ckabf(&self) -> CKABF_R {
        CKABF_R::new(((self.bits >> 16) & 0xff) as u8)
    }
    #[doc = "Bits 24:31 - short-circuit detector flag"]
    #[inline(always)]
    pub fn scdf(&self) -> SCDF_R {
        SCDF_R::new(((self.bits >> 24) & 0xff) as u8)
    }
}