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
#[doc = "Register `STATUSINT` reader"]
pub type R = crate::R<STATUSINT_SPEC>;
#[doc = "Field `TFR` reader - OR of the contents of STATUSTFR register"]
pub type TFR_R = crate::BitReader;
#[doc = "Field `BLOCK` reader - OR of the contents of STATUSBLOCK register"]
pub type BLOCK_R = crate::BitReader;
#[doc = "Field `SRCT` reader - OR of the contents of STATUSSRCTRAN register"]
pub type SRCT_R = crate::BitReader;
#[doc = "Field `DSTT` reader - OR of the contents of STATUSDSTTRAN register"]
pub type DSTT_R = crate::BitReader;
#[doc = "Field `ERR` reader - OR of the contents of STATUSERR register"]
pub type ERR_R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - OR of the contents of STATUSTFR register"]
    #[inline(always)]
    pub fn tfr(&self) -> TFR_R {
        TFR_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - OR of the contents of STATUSBLOCK register"]
    #[inline(always)]
    pub fn block(&self) -> BLOCK_R {
        BLOCK_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - OR of the contents of STATUSSRCTRAN register"]
    #[inline(always)]
    pub fn srct(&self) -> SRCT_R {
        SRCT_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - OR of the contents of STATUSDSTTRAN register"]
    #[inline(always)]
    pub fn dstt(&self) -> DSTT_R {
        DSTT_R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - OR of the contents of STATUSERR register"]
    #[inline(always)]
    pub fn err(&self) -> ERR_R {
        ERR_R::new(((self.bits >> 4) & 1) != 0)
    }
}
#[doc = "Combined Interrupt Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`statusint::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct STATUSINT_SPEC;
impl crate::RegisterSpec for STATUSINT_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`statusint::R`](R) reader structure"]
impl crate::Readable for STATUSINT_SPEC {}
#[doc = "`reset()` method sets STATUSINT to value 0"]
impl crate::Resettable for STATUSINT_SPEC {
    const RESET_VALUE: u32 = 0;
}