1#[doc = "Reader of register MIS"]
2pub type R = crate::R<u32, super::MIS>;
3#[doc = "Reader of field `RTCALT0`"]
4pub type RTCALT0_R = crate::R<bool, bool>;
5#[doc = "Reader of field `LOWBAT`"]
6pub type LOWBAT_R = crate::R<bool, bool>;
7#[doc = "Reader of field `EXTW`"]
8pub type EXTW_R = crate::R<bool, bool>;
9#[doc = "Reader of field `WC`"]
10pub type WC_R = crate::R<bool, bool>;
11#[doc = "Reader of field `PADIOWK`"]
12pub type PADIOWK_R = crate::R<bool, bool>;
13#[doc = "Reader of field `RSTWK`"]
14pub type RSTWK_R = crate::R<bool, bool>;
15#[doc = "Reader of field `VDDFAIL`"]
16pub type VDDFAIL_R = crate::R<bool, bool>;
17impl R {
18 #[doc = "Bit 0 - RTC Alert 0 Masked Interrupt Status"]
19 #[inline(always)]
20 pub fn rtcalt0(&self) -> RTCALT0_R {
21 RTCALT0_R::new((self.bits & 0x01) != 0)
22 }
23 #[doc = "Bit 2 - Low Battery Voltage Masked Interrupt Status"]
24 #[inline(always)]
25 pub fn lowbat(&self) -> LOWBAT_R {
26 LOWBAT_R::new(((self.bits >> 2) & 0x01) != 0)
27 }
28 #[doc = "Bit 3 - External Wake-Up Masked Interrupt Status"]
29 #[inline(always)]
30 pub fn extw(&self) -> EXTW_R {
31 EXTW_R::new(((self.bits >> 3) & 0x01) != 0)
32 }
33 #[doc = "Bit 4 - Write Complete/Capable Masked Interrupt Status"]
34 #[inline(always)]
35 pub fn wc(&self) -> WC_R {
36 WC_R::new(((self.bits >> 4) & 0x01) != 0)
37 }
38 #[doc = "Bit 5 - Pad I/O Wake-Up Interrupt Mask"]
39 #[inline(always)]
40 pub fn padiowk(&self) -> PADIOWK_R {
41 PADIOWK_R::new(((self.bits >> 5) & 0x01) != 0)
42 }
43 #[doc = "Bit 6 - Reset Pad I/O Wake-Up Interrupt Mask"]
44 #[inline(always)]
45 pub fn rstwk(&self) -> RSTWK_R {
46 RSTWK_R::new(((self.bits >> 6) & 0x01) != 0)
47 }
48 #[doc = "Bit 7 - VDD Fail Interrupt Mask"]
49 #[inline(always)]
50 pub fn vddfail(&self) -> VDDFAIL_R {
51 VDDFAIL_R::new(((self.bits >> 7) & 0x01) != 0)
52 }
53}