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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#[doc = "Register `DTS_ITENR` reader"]
pub struct R(crate::R<DTS_ITENR_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<DTS_ITENR_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<DTS_ITENR_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<DTS_ITENR_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Register `DTS_ITENR` writer"]
pub struct W(crate::W<DTS_ITENR_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<DTS_ITENR_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::ops::DerefMut for W {
    #[inline(always)]
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}
impl From<crate::W<DTS_ITENR_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<DTS_ITENR_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `TS1_ITEEN` reader - TS1_ITEEN"]
pub type TS1_ITEEN_R = crate::BitReader<bool>;
#[doc = "Field `TS1_ITEEN` writer - TS1_ITEEN"]
pub type TS1_ITEEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, DTS_ITENR_SPEC, bool, O>;
#[doc = "Field `TS1_ITLEN` reader - TS1_ITLEN"]
pub type TS1_ITLEN_R = crate::BitReader<bool>;
#[doc = "Field `TS1_ITLEN` writer - TS1_ITLEN"]
pub type TS1_ITLEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, DTS_ITENR_SPEC, bool, O>;
#[doc = "Field `TS1_ITHEN` reader - TS1_ITHEN"]
pub type TS1_ITHEN_R = crate::BitReader<bool>;
#[doc = "Field `TS1_ITHEN` writer - TS1_ITHEN"]
pub type TS1_ITHEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, DTS_ITENR_SPEC, bool, O>;
#[doc = "Field `TS1_AITEEN` reader - TS1_AITEEN"]
pub type TS1_AITEEN_R = crate::BitReader<bool>;
#[doc = "Field `TS1_AITEEN` writer - TS1_AITEEN"]
pub type TS1_AITEEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, DTS_ITENR_SPEC, bool, O>;
#[doc = "Field `TS1_AITLEN` reader - TS1_AITLEN"]
pub type TS1_AITLEN_R = crate::BitReader<bool>;
#[doc = "Field `TS1_AITLEN` writer - TS1_AITLEN"]
pub type TS1_AITLEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, DTS_ITENR_SPEC, bool, O>;
#[doc = "Field `TS1_AITHEN` reader - TS1_AITHEN"]
pub type TS1_AITHEN_R = crate::BitReader<bool>;
#[doc = "Field `TS1_AITHEN` writer - TS1_AITHEN"]
pub type TS1_AITHEN_W<'a, const O: u8> = crate::BitWriter<'a, u32, DTS_ITENR_SPEC, bool, O>;
impl R {
    #[doc = "Bit 0 - TS1_ITEEN"]
    #[inline(always)]
    pub fn ts1_iteen(&self) -> TS1_ITEEN_R {
        TS1_ITEEN_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - TS1_ITLEN"]
    #[inline(always)]
    pub fn ts1_itlen(&self) -> TS1_ITLEN_R {
        TS1_ITLEN_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - TS1_ITHEN"]
    #[inline(always)]
    pub fn ts1_ithen(&self) -> TS1_ITHEN_R {
        TS1_ITHEN_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 4 - TS1_AITEEN"]
    #[inline(always)]
    pub fn ts1_aiteen(&self) -> TS1_AITEEN_R {
        TS1_AITEEN_R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - TS1_AITLEN"]
    #[inline(always)]
    pub fn ts1_aitlen(&self) -> TS1_AITLEN_R {
        TS1_AITLEN_R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - TS1_AITHEN"]
    #[inline(always)]
    pub fn ts1_aithen(&self) -> TS1_AITHEN_R {
        TS1_AITHEN_R::new(((self.bits >> 6) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - TS1_ITEEN"]
    #[inline(always)]
    pub fn ts1_iteen(&mut self) -> TS1_ITEEN_W<0> {
        TS1_ITEEN_W::new(self)
    }
    #[doc = "Bit 1 - TS1_ITLEN"]
    #[inline(always)]
    pub fn ts1_itlen(&mut self) -> TS1_ITLEN_W<1> {
        TS1_ITLEN_W::new(self)
    }
    #[doc = "Bit 2 - TS1_ITHEN"]
    #[inline(always)]
    pub fn ts1_ithen(&mut self) -> TS1_ITHEN_W<2> {
        TS1_ITHEN_W::new(self)
    }
    #[doc = "Bit 4 - TS1_AITEEN"]
    #[inline(always)]
    pub fn ts1_aiteen(&mut self) -> TS1_AITEEN_W<4> {
        TS1_AITEEN_W::new(self)
    }
    #[doc = "Bit 5 - TS1_AITLEN"]
    #[inline(always)]
    pub fn ts1_aitlen(&mut self) -> TS1_AITLEN_W<5> {
        TS1_AITLEN_W::new(self)
    }
    #[doc = "Bit 6 - TS1_AITHEN"]
    #[inline(always)]
    pub fn ts1_aithen(&mut self) -> TS1_AITHEN_W<6> {
        TS1_AITHEN_W::new(self)
    }
    #[doc = "Writes raw bits to the register."]
    #[inline(always)]
    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
        self.0.bits(bits);
        self
    }
}
#[doc = "Temperature sensor interrupt enable register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [dts_itenr](index.html) module"]
pub struct DTS_ITENR_SPEC;
impl crate::RegisterSpec for DTS_ITENR_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [dts_itenr::R](R) reader structure"]
impl crate::Readable for DTS_ITENR_SPEC {
    type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [dts_itenr::W](W) writer structure"]
impl crate::Writable for DTS_ITENR_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets DTS_ITENR to value 0"]
impl crate::Resettable for DTS_ITENR_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}