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
#[doc = "Register `PMC_PCER1` writer"]
pub struct W(crate::W<PMC_PCER1_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<PMC_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<PMC_PCER1_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<PMC_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, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID33` writer - Peripheral Clock 33 Enable"]
pub type PID33_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID34` writer - Peripheral Clock 34 Enable"]
pub type PID34_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID35` writer - Peripheral Clock 35 Enable"]
pub type PID35_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID36` writer - Peripheral Clock 36 Enable"]
pub type PID36_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID37` writer - Peripheral Clock 37 Enable"]
pub type PID37_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID38` writer - Peripheral Clock 38 Enable"]
pub type PID38_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID39` writer - Peripheral Clock 39 Enable"]
pub type PID39_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID40` writer - Peripheral Clock 40 Enable"]
pub type PID40_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID41` writer - Peripheral Clock 41 Enable"]
pub type PID41_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID42` writer - Peripheral Clock 42 Enable"]
pub type PID42_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID43` writer - Peripheral Clock 43 Enable"]
pub type PID43_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID44` writer - Peripheral Clock 44 Enable"]
pub type PID44_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID45` writer - Peripheral Clock 45 Enable"]
pub type PID45_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID46` writer - Peripheral Clock 46 Enable"]
pub type PID46_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
#[doc = "Field `PID47` writer - Peripheral Clock 47 Enable"]
pub type PID47_W<'a, const O: u8> = crate::BitWriter<'a, u32, PMC_PCER1_SPEC, bool, O>;
impl W {
    #[doc = "Bit 0 - Peripheral Clock 32 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid32(&mut self) -> PID32_W<0> {
        PID32_W::new(self)
    }
    #[doc = "Bit 1 - Peripheral Clock 33 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid33(&mut self) -> PID33_W<1> {
        PID33_W::new(self)
    }
    #[doc = "Bit 2 - Peripheral Clock 34 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid34(&mut self) -> PID34_W<2> {
        PID34_W::new(self)
    }
    #[doc = "Bit 3 - Peripheral Clock 35 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid35(&mut self) -> PID35_W<3> {
        PID35_W::new(self)
    }
    #[doc = "Bit 4 - Peripheral Clock 36 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid36(&mut self) -> PID36_W<4> {
        PID36_W::new(self)
    }
    #[doc = "Bit 5 - Peripheral Clock 37 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid37(&mut self) -> PID37_W<5> {
        PID37_W::new(self)
    }
    #[doc = "Bit 6 - Peripheral Clock 38 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid38(&mut self) -> PID38_W<6> {
        PID38_W::new(self)
    }
    #[doc = "Bit 7 - Peripheral Clock 39 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid39(&mut self) -> PID39_W<7> {
        PID39_W::new(self)
    }
    #[doc = "Bit 8 - Peripheral Clock 40 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid40(&mut self) -> PID40_W<8> {
        PID40_W::new(self)
    }
    #[doc = "Bit 9 - Peripheral Clock 41 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid41(&mut self) -> PID41_W<9> {
        PID41_W::new(self)
    }
    #[doc = "Bit 10 - Peripheral Clock 42 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid42(&mut self) -> PID42_W<10> {
        PID42_W::new(self)
    }
    #[doc = "Bit 11 - Peripheral Clock 43 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid43(&mut self) -> PID43_W<11> {
        PID43_W::new(self)
    }
    #[doc = "Bit 12 - Peripheral Clock 44 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid44(&mut self) -> PID44_W<12> {
        PID44_W::new(self)
    }
    #[doc = "Bit 13 - Peripheral Clock 45 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid45(&mut self) -> PID45_W<13> {
        PID45_W::new(self)
    }
    #[doc = "Bit 14 - Peripheral Clock 46 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid46(&mut self) -> PID46_W<14> {
        PID46_W::new(self)
    }
    #[doc = "Bit 15 - Peripheral Clock 47 Enable"]
    #[inline(always)]
    #[must_use]
    pub fn pid47(&mut self) -> PID47_W<15> {
        PID47_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). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pmc_pcer1](index.html) module"]
pub struct PMC_PCER1_SPEC;
impl crate::RegisterSpec for PMC_PCER1_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [pmc_pcer1::W](W) writer structure"]
impl crate::Writable for PMC_PCER1_SPEC {
    type Writer = W;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}