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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
#[doc = "Register `PCDR0` writer"]
pub struct W(crate::W<PCDR0_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<PCDR0_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<PCDR0_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<PCDR0_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `PID7` writer - Peripheral Clock 7 Disable"]
pub type PID7_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID8` writer - Peripheral Clock 8 Disable"]
pub type PID8_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID9` writer - Peripheral Clock 9 Disable"]
pub type PID9_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID10` writer - Peripheral Clock 10 Disable"]
pub type PID10_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID11` writer - Peripheral Clock 11 Disable"]
pub type PID11_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID12` writer - Peripheral Clock 12 Disable"]
pub type PID12_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID13` writer - Peripheral Clock 13 Disable"]
pub type PID13_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID14` writer - Peripheral Clock 14 Disable"]
pub type PID14_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID15` writer - Peripheral Clock 15 Disable"]
pub type PID15_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID16` writer - Peripheral Clock 16 Disable"]
pub type PID16_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID17` writer - Peripheral Clock 17 Disable"]
pub type PID17_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID18` writer - Peripheral Clock 18 Disable"]
pub type PID18_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID19` writer - Peripheral Clock 19 Disable"]
pub type PID19_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID20` writer - Peripheral Clock 20 Disable"]
pub type PID20_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID21` writer - Peripheral Clock 21 Disable"]
pub type PID21_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID22` writer - Peripheral Clock 22 Disable"]
pub type PID22_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID23` writer - Peripheral Clock 23 Disable"]
pub type PID23_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID24` writer - Peripheral Clock 24 Disable"]
pub type PID24_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID25` writer - Peripheral Clock 25 Disable"]
pub type PID25_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID26` writer - Peripheral Clock 26 Disable"]
pub type PID26_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID27` writer - Peripheral Clock 27 Disable"]
pub type PID27_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID28` writer - Peripheral Clock 28 Disable"]
pub type PID28_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID29` writer - Peripheral Clock 29 Disable"]
pub type PID29_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID30` writer - Peripheral Clock 30 Disable"]
pub type PID30_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
#[doc = "Field `PID31` writer - Peripheral Clock 31 Disable"]
pub type PID31_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCDR0_SPEC, bool, O>;
impl W {
    #[doc = "Bit 7 - Peripheral Clock 7 Disable"]
    #[inline(always)]
    pub fn pid7(&mut self) -> PID7_W<7> {
        PID7_W::new(self)
    }
    #[doc = "Bit 8 - Peripheral Clock 8 Disable"]
    #[inline(always)]
    pub fn pid8(&mut self) -> PID8_W<8> {
        PID8_W::new(self)
    }
    #[doc = "Bit 9 - Peripheral Clock 9 Disable"]
    #[inline(always)]
    pub fn pid9(&mut self) -> PID9_W<9> {
        PID9_W::new(self)
    }
    #[doc = "Bit 10 - Peripheral Clock 10 Disable"]
    #[inline(always)]
    pub fn pid10(&mut self) -> PID10_W<10> {
        PID10_W::new(self)
    }
    #[doc = "Bit 11 - Peripheral Clock 11 Disable"]
    #[inline(always)]
    pub fn pid11(&mut self) -> PID11_W<11> {
        PID11_W::new(self)
    }
    #[doc = "Bit 12 - Peripheral Clock 12 Disable"]
    #[inline(always)]
    pub fn pid12(&mut self) -> PID12_W<12> {
        PID12_W::new(self)
    }
    #[doc = "Bit 13 - Peripheral Clock 13 Disable"]
    #[inline(always)]
    pub fn pid13(&mut self) -> PID13_W<13> {
        PID13_W::new(self)
    }
    #[doc = "Bit 14 - Peripheral Clock 14 Disable"]
    #[inline(always)]
    pub fn pid14(&mut self) -> PID14_W<14> {
        PID14_W::new(self)
    }
    #[doc = "Bit 15 - Peripheral Clock 15 Disable"]
    #[inline(always)]
    pub fn pid15(&mut self) -> PID15_W<15> {
        PID15_W::new(self)
    }
    #[doc = "Bit 16 - Peripheral Clock 16 Disable"]
    #[inline(always)]
    pub fn pid16(&mut self) -> PID16_W<16> {
        PID16_W::new(self)
    }
    #[doc = "Bit 17 - Peripheral Clock 17 Disable"]
    #[inline(always)]
    pub fn pid17(&mut self) -> PID17_W<17> {
        PID17_W::new(self)
    }
    #[doc = "Bit 18 - Peripheral Clock 18 Disable"]
    #[inline(always)]
    pub fn pid18(&mut self) -> PID18_W<18> {
        PID18_W::new(self)
    }
    #[doc = "Bit 19 - Peripheral Clock 19 Disable"]
    #[inline(always)]
    pub fn pid19(&mut self) -> PID19_W<19> {
        PID19_W::new(self)
    }
    #[doc = "Bit 20 - Peripheral Clock 20 Disable"]
    #[inline(always)]
    pub fn pid20(&mut self) -> PID20_W<20> {
        PID20_W::new(self)
    }
    #[doc = "Bit 21 - Peripheral Clock 21 Disable"]
    #[inline(always)]
    pub fn pid21(&mut self) -> PID21_W<21> {
        PID21_W::new(self)
    }
    #[doc = "Bit 22 - Peripheral Clock 22 Disable"]
    #[inline(always)]
    pub fn pid22(&mut self) -> PID22_W<22> {
        PID22_W::new(self)
    }
    #[doc = "Bit 23 - Peripheral Clock 23 Disable"]
    #[inline(always)]
    pub fn pid23(&mut self) -> PID23_W<23> {
        PID23_W::new(self)
    }
    #[doc = "Bit 24 - Peripheral Clock 24 Disable"]
    #[inline(always)]
    pub fn pid24(&mut self) -> PID24_W<24> {
        PID24_W::new(self)
    }
    #[doc = "Bit 25 - Peripheral Clock 25 Disable"]
    #[inline(always)]
    pub fn pid25(&mut self) -> PID25_W<25> {
        PID25_W::new(self)
    }
    #[doc = "Bit 26 - Peripheral Clock 26 Disable"]
    #[inline(always)]
    pub fn pid26(&mut self) -> PID26_W<26> {
        PID26_W::new(self)
    }
    #[doc = "Bit 27 - Peripheral Clock 27 Disable"]
    #[inline(always)]
    pub fn pid27(&mut self) -> PID27_W<27> {
        PID27_W::new(self)
    }
    #[doc = "Bit 28 - Peripheral Clock 28 Disable"]
    #[inline(always)]
    pub fn pid28(&mut self) -> PID28_W<28> {
        PID28_W::new(self)
    }
    #[doc = "Bit 29 - Peripheral Clock 29 Disable"]
    #[inline(always)]
    pub fn pid29(&mut self) -> PID29_W<29> {
        PID29_W::new(self)
    }
    #[doc = "Bit 30 - Peripheral Clock 30 Disable"]
    #[inline(always)]
    pub fn pid30(&mut self) -> PID30_W<30> {
        PID30_W::new(self)
    }
    #[doc = "Bit 31 - Peripheral Clock 31 Disable"]
    #[inline(always)]
    pub fn pid31(&mut self) -> PID31_W<31> {
        PID31_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 = "Peripheral Clock Disable Register 0\n\nThis register you can [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pcdr0](index.html) module"]
pub struct PCDR0_SPEC;
impl crate::RegisterSpec for PCDR0_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [pcdr0::W](W) writer structure"]
impl crate::Writable for PCDR0_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets PCDR0 to value 0"]
impl crate::Resettable for PCDR0_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}