1#[doc = "Register `PPDSR` reader"]
2pub type R = crate::R<PpdsrSpec>;
3#[doc = "Field `P0` reader - Pull Down Status"]
4pub type P0R = crate::BitReader;
5#[doc = "Field `P1` reader - Pull Down Status"]
6pub type P1R = crate::BitReader;
7#[doc = "Field `P2` reader - Pull Down Status"]
8pub type P2R = crate::BitReader;
9#[doc = "Field `P3` reader - Pull Down Status"]
10pub type P3R = crate::BitReader;
11#[doc = "Field `P4` reader - Pull Down Status"]
12pub type P4R = crate::BitReader;
13#[doc = "Field `P5` reader - Pull Down Status"]
14pub type P5R = crate::BitReader;
15#[doc = "Field `P6` reader - Pull Down Status"]
16pub type P6R = crate::BitReader;
17#[doc = "Field `P7` reader - Pull Down Status"]
18pub type P7R = crate::BitReader;
19#[doc = "Field `P8` reader - Pull Down Status"]
20pub type P8R = crate::BitReader;
21#[doc = "Field `P9` reader - Pull Down Status"]
22pub type P9R = crate::BitReader;
23#[doc = "Field `P10` reader - Pull Down Status"]
24pub type P10R = crate::BitReader;
25#[doc = "Field `P11` reader - Pull Down Status"]
26pub type P11R = crate::BitReader;
27#[doc = "Field `P12` reader - Pull Down Status"]
28pub type P12R = crate::BitReader;
29#[doc = "Field `P13` reader - Pull Down Status"]
30pub type P13R = crate::BitReader;
31#[doc = "Field `P14` reader - Pull Down Status"]
32pub type P14R = crate::BitReader;
33#[doc = "Field `P15` reader - Pull Down Status"]
34pub type P15R = crate::BitReader;
35#[doc = "Field `P16` reader - Pull Down Status"]
36pub type P16R = crate::BitReader;
37#[doc = "Field `P17` reader - Pull Down Status"]
38pub type P17R = crate::BitReader;
39#[doc = "Field `P18` reader - Pull Down Status"]
40pub type P18R = crate::BitReader;
41#[doc = "Field `P19` reader - Pull Down Status"]
42pub type P19R = crate::BitReader;
43#[doc = "Field `P20` reader - Pull Down Status"]
44pub type P20R = crate::BitReader;
45#[doc = "Field `P21` reader - Pull Down Status"]
46pub type P21R = crate::BitReader;
47#[doc = "Field `P22` reader - Pull Down Status"]
48pub type P22R = crate::BitReader;
49#[doc = "Field `P23` reader - Pull Down Status"]
50pub type P23R = crate::BitReader;
51#[doc = "Field `P24` reader - Pull Down Status"]
52pub type P24R = crate::BitReader;
53#[doc = "Field `P25` reader - Pull Down Status"]
54pub type P25R = crate::BitReader;
55#[doc = "Field `P26` reader - Pull Down Status"]
56pub type P26R = crate::BitReader;
57#[doc = "Field `P27` reader - Pull Down Status"]
58pub type P27R = crate::BitReader;
59#[doc = "Field `P28` reader - Pull Down Status"]
60pub type P28R = crate::BitReader;
61#[doc = "Field `P29` reader - Pull Down Status"]
62pub type P29R = crate::BitReader;
63#[doc = "Field `P30` reader - Pull Down Status"]
64pub type P30R = crate::BitReader;
65#[doc = "Field `P31` reader - Pull Down Status"]
66pub type P31R = crate::BitReader;
67impl R {
68 #[doc = "Bit 0 - Pull Down Status"]
69 #[inline(always)]
70 pub fn p0(&self) -> P0R {
71 P0R::new((self.bits & 1) != 0)
72 }
73 #[doc = "Bit 1 - Pull Down Status"]
74 #[inline(always)]
75 pub fn p1(&self) -> P1R {
76 P1R::new(((self.bits >> 1) & 1) != 0)
77 }
78 #[doc = "Bit 2 - Pull Down Status"]
79 #[inline(always)]
80 pub fn p2(&self) -> P2R {
81 P2R::new(((self.bits >> 2) & 1) != 0)
82 }
83 #[doc = "Bit 3 - Pull Down Status"]
84 #[inline(always)]
85 pub fn p3(&self) -> P3R {
86 P3R::new(((self.bits >> 3) & 1) != 0)
87 }
88 #[doc = "Bit 4 - Pull Down Status"]
89 #[inline(always)]
90 pub fn p4(&self) -> P4R {
91 P4R::new(((self.bits >> 4) & 1) != 0)
92 }
93 #[doc = "Bit 5 - Pull Down Status"]
94 #[inline(always)]
95 pub fn p5(&self) -> P5R {
96 P5R::new(((self.bits >> 5) & 1) != 0)
97 }
98 #[doc = "Bit 6 - Pull Down Status"]
99 #[inline(always)]
100 pub fn p6(&self) -> P6R {
101 P6R::new(((self.bits >> 6) & 1) != 0)
102 }
103 #[doc = "Bit 7 - Pull Down Status"]
104 #[inline(always)]
105 pub fn p7(&self) -> P7R {
106 P7R::new(((self.bits >> 7) & 1) != 0)
107 }
108 #[doc = "Bit 8 - Pull Down Status"]
109 #[inline(always)]
110 pub fn p8(&self) -> P8R {
111 P8R::new(((self.bits >> 8) & 1) != 0)
112 }
113 #[doc = "Bit 9 - Pull Down Status"]
114 #[inline(always)]
115 pub fn p9(&self) -> P9R {
116 P9R::new(((self.bits >> 9) & 1) != 0)
117 }
118 #[doc = "Bit 10 - Pull Down Status"]
119 #[inline(always)]
120 pub fn p10(&self) -> P10R {
121 P10R::new(((self.bits >> 10) & 1) != 0)
122 }
123 #[doc = "Bit 11 - Pull Down Status"]
124 #[inline(always)]
125 pub fn p11(&self) -> P11R {
126 P11R::new(((self.bits >> 11) & 1) != 0)
127 }
128 #[doc = "Bit 12 - Pull Down Status"]
129 #[inline(always)]
130 pub fn p12(&self) -> P12R {
131 P12R::new(((self.bits >> 12) & 1) != 0)
132 }
133 #[doc = "Bit 13 - Pull Down Status"]
134 #[inline(always)]
135 pub fn p13(&self) -> P13R {
136 P13R::new(((self.bits >> 13) & 1) != 0)
137 }
138 #[doc = "Bit 14 - Pull Down Status"]
139 #[inline(always)]
140 pub fn p14(&self) -> P14R {
141 P14R::new(((self.bits >> 14) & 1) != 0)
142 }
143 #[doc = "Bit 15 - Pull Down Status"]
144 #[inline(always)]
145 pub fn p15(&self) -> P15R {
146 P15R::new(((self.bits >> 15) & 1) != 0)
147 }
148 #[doc = "Bit 16 - Pull Down Status"]
149 #[inline(always)]
150 pub fn p16(&self) -> P16R {
151 P16R::new(((self.bits >> 16) & 1) != 0)
152 }
153 #[doc = "Bit 17 - Pull Down Status"]
154 #[inline(always)]
155 pub fn p17(&self) -> P17R {
156 P17R::new(((self.bits >> 17) & 1) != 0)
157 }
158 #[doc = "Bit 18 - Pull Down Status"]
159 #[inline(always)]
160 pub fn p18(&self) -> P18R {
161 P18R::new(((self.bits >> 18) & 1) != 0)
162 }
163 #[doc = "Bit 19 - Pull Down Status"]
164 #[inline(always)]
165 pub fn p19(&self) -> P19R {
166 P19R::new(((self.bits >> 19) & 1) != 0)
167 }
168 #[doc = "Bit 20 - Pull Down Status"]
169 #[inline(always)]
170 pub fn p20(&self) -> P20R {
171 P20R::new(((self.bits >> 20) & 1) != 0)
172 }
173 #[doc = "Bit 21 - Pull Down Status"]
174 #[inline(always)]
175 pub fn p21(&self) -> P21R {
176 P21R::new(((self.bits >> 21) & 1) != 0)
177 }
178 #[doc = "Bit 22 - Pull Down Status"]
179 #[inline(always)]
180 pub fn p22(&self) -> P22R {
181 P22R::new(((self.bits >> 22) & 1) != 0)
182 }
183 #[doc = "Bit 23 - Pull Down Status"]
184 #[inline(always)]
185 pub fn p23(&self) -> P23R {
186 P23R::new(((self.bits >> 23) & 1) != 0)
187 }
188 #[doc = "Bit 24 - Pull Down Status"]
189 #[inline(always)]
190 pub fn p24(&self) -> P24R {
191 P24R::new(((self.bits >> 24) & 1) != 0)
192 }
193 #[doc = "Bit 25 - Pull Down Status"]
194 #[inline(always)]
195 pub fn p25(&self) -> P25R {
196 P25R::new(((self.bits >> 25) & 1) != 0)
197 }
198 #[doc = "Bit 26 - Pull Down Status"]
199 #[inline(always)]
200 pub fn p26(&self) -> P26R {
201 P26R::new(((self.bits >> 26) & 1) != 0)
202 }
203 #[doc = "Bit 27 - Pull Down Status"]
204 #[inline(always)]
205 pub fn p27(&self) -> P27R {
206 P27R::new(((self.bits >> 27) & 1) != 0)
207 }
208 #[doc = "Bit 28 - Pull Down Status"]
209 #[inline(always)]
210 pub fn p28(&self) -> P28R {
211 P28R::new(((self.bits >> 28) & 1) != 0)
212 }
213 #[doc = "Bit 29 - Pull Down Status"]
214 #[inline(always)]
215 pub fn p29(&self) -> P29R {
216 P29R::new(((self.bits >> 29) & 1) != 0)
217 }
218 #[doc = "Bit 30 - Pull Down Status"]
219 #[inline(always)]
220 pub fn p30(&self) -> P30R {
221 P30R::new(((self.bits >> 30) & 1) != 0)
222 }
223 #[doc = "Bit 31 - Pull Down Status"]
224 #[inline(always)]
225 pub fn p31(&self) -> P31R {
226 P31R::new(((self.bits >> 31) & 1) != 0)
227 }
228}
229#[doc = "Pad Pull-down Status Register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ppdsr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
230pub struct PpdsrSpec;
231impl crate::RegisterSpec for PpdsrSpec {
232 type Ux = u32;
233}
234#[doc = "`read()` method returns [`ppdsr::R`](R) reader structure"]
235impl crate::Readable for PpdsrSpec {}