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
#[doc = "Register `PCER1` writer"]
pub struct W(crate::W<PCER1_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<PCER1_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<PCER1_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<PCER1_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `PID32` writer - Peripheral Clock 32 Enable"]
pub type PID32_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID33` writer - Peripheral Clock 33 Enable"]
pub type PID33_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID34` writer - Peripheral Clock 34 Enable"]
pub type PID34_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID35` writer - Peripheral Clock 35 Enable"]
pub type PID35_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID39` writer - Peripheral Clock 39 Enable"]
pub type PID39_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID40` writer - Peripheral Clock 40 Enable"]
pub type PID40_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID43` writer - Peripheral Clock 43 Enable"]
pub type PID43_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID44` writer - Peripheral Clock 44 Enable"]
pub type PID44_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID45` writer - Peripheral Clock 45 Enable"]
pub type PID45_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID46` writer - Peripheral Clock 46 Enable"]
pub type PID46_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID47` writer - Peripheral Clock 47 Enable"]
pub type PID47_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID48` writer - Peripheral Clock 48 Enable"]
pub type PID48_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID49` writer - Peripheral Clock 49 Enable"]
pub type PID49_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID50` writer - Peripheral Clock 50 Enable"]
pub type PID50_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID51` writer - Peripheral Clock 51 Enable"]
pub type PID51_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID52` writer - Peripheral Clock 52 Enable"]
pub type PID52_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID56` writer - Peripheral Clock 56 Enable"]
pub type PID56_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID57` writer - Peripheral Clock 57 Enable"]
pub type PID57_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID58` writer - Peripheral Clock 58 Enable"]
pub type PID58_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID59` writer - Peripheral Clock 59 Enable"]
pub type PID59_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
#[doc = "Field `PID60` writer - Peripheral Clock 60 Enable"]
pub type PID60_W<'a, const O: u8> = crate::BitWriter<'a, u32, PCER1_SPEC, bool, O>;
impl W {
    #[doc = "Bit 0 - Peripheral Clock 32 Enable"]
    #[inline(always)]
    pub fn pid32(&mut self) -> PID32_W<0> {
        PID32_W::new(self)
    }
    #[doc = "Bit 1 - Peripheral Clock 33 Enable"]
    #[inline(always)]
    pub fn pid33(&mut self) -> PID33_W<1> {
        PID33_W::new(self)
    }
    #[doc = "Bit 2 - Peripheral Clock 34 Enable"]
    #[inline(always)]
    pub fn pid34(&mut self) -> PID34_W<2> {
        PID34_W::new(self)
    }
    #[doc = "Bit 3 - Peripheral Clock 35 Enable"]
    #[inline(always)]
    pub fn pid35(&mut self) -> PID35_W<3> {
        PID35_W::new(self)
    }
    #[doc = "Bit 7 - Peripheral Clock 39 Enable"]
    #[inline(always)]
    pub fn pid39(&mut self) -> PID39_W<7> {
        PID39_W::new(self)
    }
    #[doc = "Bit 8 - Peripheral Clock 40 Enable"]
    #[inline(always)]
    pub fn pid40(&mut self) -> PID40_W<8> {
        PID40_W::new(self)
    }
    #[doc = "Bit 11 - Peripheral Clock 43 Enable"]
    #[inline(always)]
    pub fn pid43(&mut self) -> PID43_W<11> {
        PID43_W::new(self)
    }
    #[doc = "Bit 12 - Peripheral Clock 44 Enable"]
    #[inline(always)]
    pub fn pid44(&mut self) -> PID44_W<12> {
        PID44_W::new(self)
    }
    #[doc = "Bit 13 - Peripheral Clock 45 Enable"]
    #[inline(always)]
    pub fn pid45(&mut self) -> PID45_W<13> {
        PID45_W::new(self)
    }
    #[doc = "Bit 14 - Peripheral Clock 46 Enable"]
    #[inline(always)]
    pub fn pid46(&mut self) -> PID46_W<14> {
        PID46_W::new(self)
    }
    #[doc = "Bit 15 - Peripheral Clock 47 Enable"]
    #[inline(always)]
    pub fn pid47(&mut self) -> PID47_W<15> {
        PID47_W::new(self)
    }
    #[doc = "Bit 16 - Peripheral Clock 48 Enable"]
    #[inline(always)]
    pub fn pid48(&mut self) -> PID48_W<16> {
        PID48_W::new(self)
    }
    #[doc = "Bit 17 - Peripheral Clock 49 Enable"]
    #[inline(always)]
    pub fn pid49(&mut self) -> PID49_W<17> {
        PID49_W::new(self)
    }
    #[doc = "Bit 18 - Peripheral Clock 50 Enable"]
    #[inline(always)]
    pub fn pid50(&mut self) -> PID50_W<18> {
        PID50_W::new(self)
    }
    #[doc = "Bit 19 - Peripheral Clock 51 Enable"]
    #[inline(always)]
    pub fn pid51(&mut self) -> PID51_W<19> {
        PID51_W::new(self)
    }
    #[doc = "Bit 20 - Peripheral Clock 52 Enable"]
    #[inline(always)]
    pub fn pid52(&mut self) -> PID52_W<20> {
        PID52_W::new(self)
    }
    #[doc = "Bit 24 - Peripheral Clock 56 Enable"]
    #[inline(always)]
    pub fn pid56(&mut self) -> PID56_W<24> {
        PID56_W::new(self)
    }
    #[doc = "Bit 25 - Peripheral Clock 57 Enable"]
    #[inline(always)]
    pub fn pid57(&mut self) -> PID57_W<25> {
        PID57_W::new(self)
    }
    #[doc = "Bit 26 - Peripheral Clock 58 Enable"]
    #[inline(always)]
    pub fn pid58(&mut self) -> PID58_W<26> {
        PID58_W::new(self)
    }
    #[doc = "Bit 27 - Peripheral Clock 59 Enable"]
    #[inline(always)]
    pub fn pid59(&mut self) -> PID59_W<27> {
        PID59_W::new(self)
    }
    #[doc = "Bit 28 - Peripheral Clock 60 Enable"]
    #[inline(always)]
    pub fn pid60(&mut self) -> PID60_W<28> {
        PID60_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 Enable Register 1\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 [pcer1](index.html) module"]
pub struct PCER1_SPEC;
impl crate::RegisterSpec for PCER1_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [pcer1::W](W) writer structure"]
impl crate::Writable for PCER1_SPEC {
    type Writer = W;
}
#[doc = "`reset()` method sets PCER1 to value 0"]
impl crate::Resettable for PCER1_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0
    }
}