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
#[doc = "Register `PMC_PCSR0` reader"]
pub struct R(crate::R<PMC_PCSR0_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<PMC_PCSR0_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<PMC_PCSR0_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<PMC_PCSR0_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `PID8` reader - Peripheral Clock 8 Status"]
pub type PID8_R = crate::BitReader<bool>;
#[doc = "Field `PID9` reader - Peripheral Clock 9 Status"]
pub type PID9_R = crate::BitReader<bool>;
#[doc = "Field `PID10` reader - Peripheral Clock 10 Status"]
pub type PID10_R = crate::BitReader<bool>;
#[doc = "Field `PID11` reader - Peripheral Clock 11 Status"]
pub type PID11_R = crate::BitReader<bool>;
#[doc = "Field `PID12` reader - Peripheral Clock 12 Status"]
pub type PID12_R = crate::BitReader<bool>;
#[doc = "Field `PID13` reader - Peripheral Clock 13 Status"]
pub type PID13_R = crate::BitReader<bool>;
#[doc = "Field `PID14` reader - Peripheral Clock 14 Status"]
pub type PID14_R = crate::BitReader<bool>;
#[doc = "Field `PID15` reader - Peripheral Clock 15 Status"]
pub type PID15_R = crate::BitReader<bool>;
#[doc = "Field `PID16` reader - Peripheral Clock 16 Status"]
pub type PID16_R = crate::BitReader<bool>;
#[doc = "Field `PID17` reader - Peripheral Clock 17 Status"]
pub type PID17_R = crate::BitReader<bool>;
#[doc = "Field `PID18` reader - Peripheral Clock 18 Status"]
pub type PID18_R = crate::BitReader<bool>;
#[doc = "Field `PID19` reader - Peripheral Clock 19 Status"]
pub type PID19_R = crate::BitReader<bool>;
#[doc = "Field `PID20` reader - Peripheral Clock 20 Status"]
pub type PID20_R = crate::BitReader<bool>;
#[doc = "Field `PID21` reader - Peripheral Clock 21 Status"]
pub type PID21_R = crate::BitReader<bool>;
#[doc = "Field `PID22` reader - Peripheral Clock 22 Status"]
pub type PID22_R = crate::BitReader<bool>;
#[doc = "Field `PID23` reader - Peripheral Clock 23 Status"]
pub type PID23_R = crate::BitReader<bool>;
#[doc = "Field `PID24` reader - Peripheral Clock 24 Status"]
pub type PID24_R = crate::BitReader<bool>;
#[doc = "Field `PID25` reader - Peripheral Clock 25 Status"]
pub type PID25_R = crate::BitReader<bool>;
#[doc = "Field `PID26` reader - Peripheral Clock 26 Status"]
pub type PID26_R = crate::BitReader<bool>;
#[doc = "Field `PID27` reader - Peripheral Clock 27 Status"]
pub type PID27_R = crate::BitReader<bool>;
#[doc = "Field `PID28` reader - Peripheral Clock 28 Status"]
pub type PID28_R = crate::BitReader<bool>;
#[doc = "Field `PID29` reader - Peripheral Clock 29 Status"]
pub type PID29_R = crate::BitReader<bool>;
#[doc = "Field `PID30` reader - Peripheral Clock 30 Status"]
pub type PID30_R = crate::BitReader<bool>;
#[doc = "Field `PID31` reader - Peripheral Clock 31 Status"]
pub type PID31_R = crate::BitReader<bool>;
impl R {
    #[doc = "Bit 8 - Peripheral Clock 8 Status"]
    #[inline(always)]
    pub fn pid8(&self) -> PID8_R {
        PID8_R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Peripheral Clock 9 Status"]
    #[inline(always)]
    pub fn pid9(&self) -> PID9_R {
        PID9_R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - Peripheral Clock 10 Status"]
    #[inline(always)]
    pub fn pid10(&self) -> PID10_R {
        PID10_R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - Peripheral Clock 11 Status"]
    #[inline(always)]
    pub fn pid11(&self) -> PID11_R {
        PID11_R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - Peripheral Clock 12 Status"]
    #[inline(always)]
    pub fn pid12(&self) -> PID12_R {
        PID12_R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - Peripheral Clock 13 Status"]
    #[inline(always)]
    pub fn pid13(&self) -> PID13_R {
        PID13_R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - Peripheral Clock 14 Status"]
    #[inline(always)]
    pub fn pid14(&self) -> PID14_R {
        PID14_R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - Peripheral Clock 15 Status"]
    #[inline(always)]
    pub fn pid15(&self) -> PID15_R {
        PID15_R::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 16 - Peripheral Clock 16 Status"]
    #[inline(always)]
    pub fn pid16(&self) -> PID16_R {
        PID16_R::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 17 - Peripheral Clock 17 Status"]
    #[inline(always)]
    pub fn pid17(&self) -> PID17_R {
        PID17_R::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 18 - Peripheral Clock 18 Status"]
    #[inline(always)]
    pub fn pid18(&self) -> PID18_R {
        PID18_R::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - Peripheral Clock 19 Status"]
    #[inline(always)]
    pub fn pid19(&self) -> PID19_R {
        PID19_R::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 20 - Peripheral Clock 20 Status"]
    #[inline(always)]
    pub fn pid20(&self) -> PID20_R {
        PID20_R::new(((self.bits >> 20) & 1) != 0)
    }
    #[doc = "Bit 21 - Peripheral Clock 21 Status"]
    #[inline(always)]
    pub fn pid21(&self) -> PID21_R {
        PID21_R::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - Peripheral Clock 22 Status"]
    #[inline(always)]
    pub fn pid22(&self) -> PID22_R {
        PID22_R::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - Peripheral Clock 23 Status"]
    #[inline(always)]
    pub fn pid23(&self) -> PID23_R {
        PID23_R::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 24 - Peripheral Clock 24 Status"]
    #[inline(always)]
    pub fn pid24(&self) -> PID24_R {
        PID24_R::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 25 - Peripheral Clock 25 Status"]
    #[inline(always)]
    pub fn pid25(&self) -> PID25_R {
        PID25_R::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 26 - Peripheral Clock 26 Status"]
    #[inline(always)]
    pub fn pid26(&self) -> PID26_R {
        PID26_R::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 27 - Peripheral Clock 27 Status"]
    #[inline(always)]
    pub fn pid27(&self) -> PID27_R {
        PID27_R::new(((self.bits >> 27) & 1) != 0)
    }
    #[doc = "Bit 28 - Peripheral Clock 28 Status"]
    #[inline(always)]
    pub fn pid28(&self) -> PID28_R {
        PID28_R::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 29 - Peripheral Clock 29 Status"]
    #[inline(always)]
    pub fn pid29(&self) -> PID29_R {
        PID29_R::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bit 30 - Peripheral Clock 30 Status"]
    #[inline(always)]
    pub fn pid30(&self) -> PID30_R {
        PID30_R::new(((self.bits >> 30) & 1) != 0)
    }
    #[doc = "Bit 31 - Peripheral Clock 31 Status"]
    #[inline(always)]
    pub fn pid31(&self) -> PID31_R {
        PID31_R::new(((self.bits >> 31) & 1) != 0)
    }
}
#[doc = "Peripheral Clock Status Register 0\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pmc_pcsr0](index.html) module"]
pub struct PMC_PCSR0_SPEC;
impl crate::RegisterSpec for PMC_PCSR0_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [pmc_pcsr0::R](R) reader structure"]
impl crate::Readable for PMC_PCSR0_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets PMC_PCSR0 to value 0"]
impl crate::Resettable for PMC_PCSR0_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}