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
#[doc = "Register `RISR` reader"]
pub type R = crate::R<RISR_SPEC>;
#[doc = "Field `TXEIR` reader - Transmit FIFO empty raw interrupt status"]
pub type TXEIR_R = crate::BitReader;
#[doc = "Field `TXOIR` reader - Transmit FIFO overflow raw interrupt status"]
pub type TXOIR_R = crate::BitReader;
#[doc = "Field `RXUIR` reader - Receive FIFO underflow raw interrupt status"]
pub type RXUIR_R = crate::BitReader;
#[doc = "Field `RXOIR` reader - Receive FIFO overflow raw interrupt status"]
pub type RXOIR_R = crate::BitReader;
#[doc = "Field `RXFIR` reader - Receive FIFO full raw interrupt status"]
pub type RXFIR_R = crate::BitReader;
#[doc = "Field `MSTIR` reader - Multi-master contention raw interrupt status"]
pub type MSTIR_R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - Transmit FIFO empty raw interrupt status"]
    #[inline(always)]
    pub fn txeir(&self) -> TXEIR_R {
        TXEIR_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Transmit FIFO overflow raw interrupt status"]
    #[inline(always)]
    pub fn txoir(&self) -> TXOIR_R {
        TXOIR_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Receive FIFO underflow raw interrupt status"]
    #[inline(always)]
    pub fn rxuir(&self) -> RXUIR_R {
        RXUIR_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Receive FIFO overflow raw interrupt status"]
    #[inline(always)]
    pub fn rxoir(&self) -> RXOIR_R {
        RXOIR_R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - Receive FIFO full raw interrupt status"]
    #[inline(always)]
    pub fn rxfir(&self) -> RXFIR_R {
        RXFIR_R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - Multi-master contention raw interrupt status"]
    #[inline(always)]
    pub fn mstir(&self) -> MSTIR_R {
        MSTIR_R::new(((self.bits >> 5) & 1) != 0)
    }
}
#[doc = "Raw interrupt status  

You can [`read`](crate::generic::Reg::read) this register and get [`risr::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct RISR_SPEC;
impl crate::RegisterSpec for RISR_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`risr::R`](R) reader structure"]
impl crate::Readable for RISR_SPEC {}
#[doc = "`reset()` method sets RISR to value 0"]
impl crate::Resettable for RISR_SPEC {
    const RESET_VALUE: u32 = 0;
}