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
#[doc = "Register `STSSR` reader"]
pub type R = crate::R<STSSR_SPEC>;
#[doc = "Field `SPSE` reader - Periodic Seconds Service Request Status after Masking"]
pub type SPSE_R = crate::BitReader;
#[doc = "Field `SPMI` reader - Periodic Minutes Service Request Status after Masking"]
pub type SPMI_R = crate::BitReader;
#[doc = "Field `SPHO` reader - Periodic Hours Service Request Status after Masking"]
pub type SPHO_R = crate::BitReader;
#[doc = "Field `SPDA` reader - Periodic Days Service Request Status after Masking"]
pub type SPDA_R = crate::BitReader;
#[doc = "Field `SPMO` reader - Periodic Months Service Request Status after Masking"]
pub type SPMO_R = crate::BitReader;
#[doc = "Field `SPYE` reader - Periodic Years Service Request Status after Masking"]
pub type SPYE_R = crate::BitReader;
#[doc = "Field `SAI` reader - Alarm Service Request Status after Masking"]
pub type SAI_R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - Periodic Seconds Service Request Status after Masking"]
    #[inline(always)]
    pub fn spse(&self) -> SPSE_R {
        SPSE_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Periodic Minutes Service Request Status after Masking"]
    #[inline(always)]
    pub fn spmi(&self) -> SPMI_R {
        SPMI_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Periodic Hours Service Request Status after Masking"]
    #[inline(always)]
    pub fn spho(&self) -> SPHO_R {
        SPHO_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Periodic Days Service Request Status after Masking"]
    #[inline(always)]
    pub fn spda(&self) -> SPDA_R {
        SPDA_R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 5 - Periodic Months Service Request Status after Masking"]
    #[inline(always)]
    pub fn spmo(&self) -> SPMO_R {
        SPMO_R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - Periodic Years Service Request Status after Masking"]
    #[inline(always)]
    pub fn spye(&self) -> SPYE_R {
        SPYE_R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 8 - Alarm Service Request Status after Masking"]
    #[inline(always)]
    pub fn sai(&self) -> SAI_R {
        SAI_R::new(((self.bits >> 8) & 1) != 0)
    }
}
#[doc = "RTC Service Request Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`stssr::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct STSSR_SPEC;
impl crate::RegisterSpec for STSSR_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`stssr::R`](R) reader structure"]
impl crate::Readable for STSSR_SPEC {}
#[doc = "`reset()` method sets STSSR to value 0"]
impl crate::Resettable for STSSR_SPEC {
    const RESET_VALUE: u32 = 0;
}