EFR32 Blue Gecko 1 Software Documentation  efr32bg1-doc-5.1.2
efr32bg1p_prs.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t SWPULSE;
44  __IOM uint32_t SWLEVEL;
45  __IOM uint32_t ROUTEPEN;
46  uint32_t RESERVED0[1];
47  __IOM uint32_t ROUTELOC0;
48  __IOM uint32_t ROUTELOC1;
49  __IOM uint32_t ROUTELOC2;
51  uint32_t RESERVED1[1];
52  __IOM uint32_t CTRL;
53  __IOM uint32_t DMAREQ0;
54  __IOM uint32_t DMAREQ1;
55  uint32_t RESERVED2[1];
56  __IM uint32_t PEEK;
58  uint32_t RESERVED3[3];
59  PRS_CH_TypeDef CH[12];
60 } PRS_TypeDef;
62 /**************************************************************************/
67 /* Bit fields for PRS SWPULSE */
68 #define _PRS_SWPULSE_RESETVALUE 0x00000000UL
69 #define _PRS_SWPULSE_MASK 0x00000FFFUL
70 #define PRS_SWPULSE_CH0PULSE (0x1UL << 0)
71 #define _PRS_SWPULSE_CH0PULSE_SHIFT 0
72 #define _PRS_SWPULSE_CH0PULSE_MASK 0x1UL
73 #define _PRS_SWPULSE_CH0PULSE_DEFAULT 0x00000000UL
74 #define PRS_SWPULSE_CH0PULSE_DEFAULT (_PRS_SWPULSE_CH0PULSE_DEFAULT << 0)
75 #define PRS_SWPULSE_CH1PULSE (0x1UL << 1)
76 #define _PRS_SWPULSE_CH1PULSE_SHIFT 1
77 #define _PRS_SWPULSE_CH1PULSE_MASK 0x2UL
78 #define _PRS_SWPULSE_CH1PULSE_DEFAULT 0x00000000UL
79 #define PRS_SWPULSE_CH1PULSE_DEFAULT (_PRS_SWPULSE_CH1PULSE_DEFAULT << 1)
80 #define PRS_SWPULSE_CH2PULSE (0x1UL << 2)
81 #define _PRS_SWPULSE_CH2PULSE_SHIFT 2
82 #define _PRS_SWPULSE_CH2PULSE_MASK 0x4UL
83 #define _PRS_SWPULSE_CH2PULSE_DEFAULT 0x00000000UL
84 #define PRS_SWPULSE_CH2PULSE_DEFAULT (_PRS_SWPULSE_CH2PULSE_DEFAULT << 2)
85 #define PRS_SWPULSE_CH3PULSE (0x1UL << 3)
86 #define _PRS_SWPULSE_CH3PULSE_SHIFT 3
87 #define _PRS_SWPULSE_CH3PULSE_MASK 0x8UL
88 #define _PRS_SWPULSE_CH3PULSE_DEFAULT 0x00000000UL
89 #define PRS_SWPULSE_CH3PULSE_DEFAULT (_PRS_SWPULSE_CH3PULSE_DEFAULT << 3)
90 #define PRS_SWPULSE_CH4PULSE (0x1UL << 4)
91 #define _PRS_SWPULSE_CH4PULSE_SHIFT 4
92 #define _PRS_SWPULSE_CH4PULSE_MASK 0x10UL
93 #define _PRS_SWPULSE_CH4PULSE_DEFAULT 0x00000000UL
94 #define PRS_SWPULSE_CH4PULSE_DEFAULT (_PRS_SWPULSE_CH4PULSE_DEFAULT << 4)
95 #define PRS_SWPULSE_CH5PULSE (0x1UL << 5)
96 #define _PRS_SWPULSE_CH5PULSE_SHIFT 5
97 #define _PRS_SWPULSE_CH5PULSE_MASK 0x20UL
98 #define _PRS_SWPULSE_CH5PULSE_DEFAULT 0x00000000UL
99 #define PRS_SWPULSE_CH5PULSE_DEFAULT (_PRS_SWPULSE_CH5PULSE_DEFAULT << 5)
100 #define PRS_SWPULSE_CH6PULSE (0x1UL << 6)
101 #define _PRS_SWPULSE_CH6PULSE_SHIFT 6
102 #define _PRS_SWPULSE_CH6PULSE_MASK 0x40UL
103 #define _PRS_SWPULSE_CH6PULSE_DEFAULT 0x00000000UL
104 #define PRS_SWPULSE_CH6PULSE_DEFAULT (_PRS_SWPULSE_CH6PULSE_DEFAULT << 6)
105 #define PRS_SWPULSE_CH7PULSE (0x1UL << 7)
106 #define _PRS_SWPULSE_CH7PULSE_SHIFT 7
107 #define _PRS_SWPULSE_CH7PULSE_MASK 0x80UL
108 #define _PRS_SWPULSE_CH7PULSE_DEFAULT 0x00000000UL
109 #define PRS_SWPULSE_CH7PULSE_DEFAULT (_PRS_SWPULSE_CH7PULSE_DEFAULT << 7)
110 #define PRS_SWPULSE_CH8PULSE (0x1UL << 8)
111 #define _PRS_SWPULSE_CH8PULSE_SHIFT 8
112 #define _PRS_SWPULSE_CH8PULSE_MASK 0x100UL
113 #define _PRS_SWPULSE_CH8PULSE_DEFAULT 0x00000000UL
114 #define PRS_SWPULSE_CH8PULSE_DEFAULT (_PRS_SWPULSE_CH8PULSE_DEFAULT << 8)
115 #define PRS_SWPULSE_CH9PULSE (0x1UL << 9)
116 #define _PRS_SWPULSE_CH9PULSE_SHIFT 9
117 #define _PRS_SWPULSE_CH9PULSE_MASK 0x200UL
118 #define _PRS_SWPULSE_CH9PULSE_DEFAULT 0x00000000UL
119 #define PRS_SWPULSE_CH9PULSE_DEFAULT (_PRS_SWPULSE_CH9PULSE_DEFAULT << 9)
120 #define PRS_SWPULSE_CH10PULSE (0x1UL << 10)
121 #define _PRS_SWPULSE_CH10PULSE_SHIFT 10
122 #define _PRS_SWPULSE_CH10PULSE_MASK 0x400UL
123 #define _PRS_SWPULSE_CH10PULSE_DEFAULT 0x00000000UL
124 #define PRS_SWPULSE_CH10PULSE_DEFAULT (_PRS_SWPULSE_CH10PULSE_DEFAULT << 10)
125 #define PRS_SWPULSE_CH11PULSE (0x1UL << 11)
126 #define _PRS_SWPULSE_CH11PULSE_SHIFT 11
127 #define _PRS_SWPULSE_CH11PULSE_MASK 0x800UL
128 #define _PRS_SWPULSE_CH11PULSE_DEFAULT 0x00000000UL
129 #define PRS_SWPULSE_CH11PULSE_DEFAULT (_PRS_SWPULSE_CH11PULSE_DEFAULT << 11)
131 /* Bit fields for PRS SWLEVEL */
132 #define _PRS_SWLEVEL_RESETVALUE 0x00000000UL
133 #define _PRS_SWLEVEL_MASK 0x00000FFFUL
134 #define PRS_SWLEVEL_CH0LEVEL (0x1UL << 0)
135 #define _PRS_SWLEVEL_CH0LEVEL_SHIFT 0
136 #define _PRS_SWLEVEL_CH0LEVEL_MASK 0x1UL
137 #define _PRS_SWLEVEL_CH0LEVEL_DEFAULT 0x00000000UL
138 #define PRS_SWLEVEL_CH0LEVEL_DEFAULT (_PRS_SWLEVEL_CH0LEVEL_DEFAULT << 0)
139 #define PRS_SWLEVEL_CH1LEVEL (0x1UL << 1)
140 #define _PRS_SWLEVEL_CH1LEVEL_SHIFT 1
141 #define _PRS_SWLEVEL_CH1LEVEL_MASK 0x2UL
142 #define _PRS_SWLEVEL_CH1LEVEL_DEFAULT 0x00000000UL
143 #define PRS_SWLEVEL_CH1LEVEL_DEFAULT (_PRS_SWLEVEL_CH1LEVEL_DEFAULT << 1)
144 #define PRS_SWLEVEL_CH2LEVEL (0x1UL << 2)
145 #define _PRS_SWLEVEL_CH2LEVEL_SHIFT 2
146 #define _PRS_SWLEVEL_CH2LEVEL_MASK 0x4UL
147 #define _PRS_SWLEVEL_CH2LEVEL_DEFAULT 0x00000000UL
148 #define PRS_SWLEVEL_CH2LEVEL_DEFAULT (_PRS_SWLEVEL_CH2LEVEL_DEFAULT << 2)
149 #define PRS_SWLEVEL_CH3LEVEL (0x1UL << 3)
150 #define _PRS_SWLEVEL_CH3LEVEL_SHIFT 3
151 #define _PRS_SWLEVEL_CH3LEVEL_MASK 0x8UL
152 #define _PRS_SWLEVEL_CH3LEVEL_DEFAULT 0x00000000UL
153 #define PRS_SWLEVEL_CH3LEVEL_DEFAULT (_PRS_SWLEVEL_CH3LEVEL_DEFAULT << 3)
154 #define PRS_SWLEVEL_CH4LEVEL (0x1UL << 4)
155 #define _PRS_SWLEVEL_CH4LEVEL_SHIFT 4
156 #define _PRS_SWLEVEL_CH4LEVEL_MASK 0x10UL
157 #define _PRS_SWLEVEL_CH4LEVEL_DEFAULT 0x00000000UL
158 #define PRS_SWLEVEL_CH4LEVEL_DEFAULT (_PRS_SWLEVEL_CH4LEVEL_DEFAULT << 4)
159 #define PRS_SWLEVEL_CH5LEVEL (0x1UL << 5)
160 #define _PRS_SWLEVEL_CH5LEVEL_SHIFT 5
161 #define _PRS_SWLEVEL_CH5LEVEL_MASK 0x20UL
162 #define _PRS_SWLEVEL_CH5LEVEL_DEFAULT 0x00000000UL
163 #define PRS_SWLEVEL_CH5LEVEL_DEFAULT (_PRS_SWLEVEL_CH5LEVEL_DEFAULT << 5)
164 #define PRS_SWLEVEL_CH6LEVEL (0x1UL << 6)
165 #define _PRS_SWLEVEL_CH6LEVEL_SHIFT 6
166 #define _PRS_SWLEVEL_CH6LEVEL_MASK 0x40UL
167 #define _PRS_SWLEVEL_CH6LEVEL_DEFAULT 0x00000000UL
168 #define PRS_SWLEVEL_CH6LEVEL_DEFAULT (_PRS_SWLEVEL_CH6LEVEL_DEFAULT << 6)
169 #define PRS_SWLEVEL_CH7LEVEL (0x1UL << 7)
170 #define _PRS_SWLEVEL_CH7LEVEL_SHIFT 7
171 #define _PRS_SWLEVEL_CH7LEVEL_MASK 0x80UL
172 #define _PRS_SWLEVEL_CH7LEVEL_DEFAULT 0x00000000UL
173 #define PRS_SWLEVEL_CH7LEVEL_DEFAULT (_PRS_SWLEVEL_CH7LEVEL_DEFAULT << 7)
174 #define PRS_SWLEVEL_CH8LEVEL (0x1UL << 8)
175 #define _PRS_SWLEVEL_CH8LEVEL_SHIFT 8
176 #define _PRS_SWLEVEL_CH8LEVEL_MASK 0x100UL
177 #define _PRS_SWLEVEL_CH8LEVEL_DEFAULT 0x00000000UL
178 #define PRS_SWLEVEL_CH8LEVEL_DEFAULT (_PRS_SWLEVEL_CH8LEVEL_DEFAULT << 8)
179 #define PRS_SWLEVEL_CH9LEVEL (0x1UL << 9)
180 #define _PRS_SWLEVEL_CH9LEVEL_SHIFT 9
181 #define _PRS_SWLEVEL_CH9LEVEL_MASK 0x200UL
182 #define _PRS_SWLEVEL_CH9LEVEL_DEFAULT 0x00000000UL
183 #define PRS_SWLEVEL_CH9LEVEL_DEFAULT (_PRS_SWLEVEL_CH9LEVEL_DEFAULT << 9)
184 #define PRS_SWLEVEL_CH10LEVEL (0x1UL << 10)
185 #define _PRS_SWLEVEL_CH10LEVEL_SHIFT 10
186 #define _PRS_SWLEVEL_CH10LEVEL_MASK 0x400UL
187 #define _PRS_SWLEVEL_CH10LEVEL_DEFAULT 0x00000000UL
188 #define PRS_SWLEVEL_CH10LEVEL_DEFAULT (_PRS_SWLEVEL_CH10LEVEL_DEFAULT << 10)
189 #define PRS_SWLEVEL_CH11LEVEL (0x1UL << 11)
190 #define _PRS_SWLEVEL_CH11LEVEL_SHIFT 11
191 #define _PRS_SWLEVEL_CH11LEVEL_MASK 0x800UL
192 #define _PRS_SWLEVEL_CH11LEVEL_DEFAULT 0x00000000UL
193 #define PRS_SWLEVEL_CH11LEVEL_DEFAULT (_PRS_SWLEVEL_CH11LEVEL_DEFAULT << 11)
195 /* Bit fields for PRS ROUTEPEN */
196 #define _PRS_ROUTEPEN_RESETVALUE 0x00000000UL
197 #define _PRS_ROUTEPEN_MASK 0x00000FFFUL
198 #define PRS_ROUTEPEN_CH0PEN (0x1UL << 0)
199 #define _PRS_ROUTEPEN_CH0PEN_SHIFT 0
200 #define _PRS_ROUTEPEN_CH0PEN_MASK 0x1UL
201 #define _PRS_ROUTEPEN_CH0PEN_DEFAULT 0x00000000UL
202 #define PRS_ROUTEPEN_CH0PEN_DEFAULT (_PRS_ROUTEPEN_CH0PEN_DEFAULT << 0)
203 #define PRS_ROUTEPEN_CH1PEN (0x1UL << 1)
204 #define _PRS_ROUTEPEN_CH1PEN_SHIFT 1
205 #define _PRS_ROUTEPEN_CH1PEN_MASK 0x2UL
206 #define _PRS_ROUTEPEN_CH1PEN_DEFAULT 0x00000000UL
207 #define PRS_ROUTEPEN_CH1PEN_DEFAULT (_PRS_ROUTEPEN_CH1PEN_DEFAULT << 1)
208 #define PRS_ROUTEPEN_CH2PEN (0x1UL << 2)
209 #define _PRS_ROUTEPEN_CH2PEN_SHIFT 2
210 #define _PRS_ROUTEPEN_CH2PEN_MASK 0x4UL
211 #define _PRS_ROUTEPEN_CH2PEN_DEFAULT 0x00000000UL
212 #define PRS_ROUTEPEN_CH2PEN_DEFAULT (_PRS_ROUTEPEN_CH2PEN_DEFAULT << 2)
213 #define PRS_ROUTEPEN_CH3PEN (0x1UL << 3)
214 #define _PRS_ROUTEPEN_CH3PEN_SHIFT 3
215 #define _PRS_ROUTEPEN_CH3PEN_MASK 0x8UL
216 #define _PRS_ROUTEPEN_CH3PEN_DEFAULT 0x00000000UL
217 #define PRS_ROUTEPEN_CH3PEN_DEFAULT (_PRS_ROUTEPEN_CH3PEN_DEFAULT << 3)
218 #define PRS_ROUTEPEN_CH4PEN (0x1UL << 4)
219 #define _PRS_ROUTEPEN_CH4PEN_SHIFT 4
220 #define _PRS_ROUTEPEN_CH4PEN_MASK 0x10UL
221 #define _PRS_ROUTEPEN_CH4PEN_DEFAULT 0x00000000UL
222 #define PRS_ROUTEPEN_CH4PEN_DEFAULT (_PRS_ROUTEPEN_CH4PEN_DEFAULT << 4)
223 #define PRS_ROUTEPEN_CH5PEN (0x1UL << 5)
224 #define _PRS_ROUTEPEN_CH5PEN_SHIFT 5
225 #define _PRS_ROUTEPEN_CH5PEN_MASK 0x20UL
226 #define _PRS_ROUTEPEN_CH5PEN_DEFAULT 0x00000000UL
227 #define PRS_ROUTEPEN_CH5PEN_DEFAULT (_PRS_ROUTEPEN_CH5PEN_DEFAULT << 5)
228 #define PRS_ROUTEPEN_CH6PEN (0x1UL << 6)
229 #define _PRS_ROUTEPEN_CH6PEN_SHIFT 6
230 #define _PRS_ROUTEPEN_CH6PEN_MASK 0x40UL
231 #define _PRS_ROUTEPEN_CH6PEN_DEFAULT 0x00000000UL
232 #define PRS_ROUTEPEN_CH6PEN_DEFAULT (_PRS_ROUTEPEN_CH6PEN_DEFAULT << 6)
233 #define PRS_ROUTEPEN_CH7PEN (0x1UL << 7)
234 #define _PRS_ROUTEPEN_CH7PEN_SHIFT 7
235 #define _PRS_ROUTEPEN_CH7PEN_MASK 0x80UL
236 #define _PRS_ROUTEPEN_CH7PEN_DEFAULT 0x00000000UL
237 #define PRS_ROUTEPEN_CH7PEN_DEFAULT (_PRS_ROUTEPEN_CH7PEN_DEFAULT << 7)
238 #define PRS_ROUTEPEN_CH8PEN (0x1UL << 8)
239 #define _PRS_ROUTEPEN_CH8PEN_SHIFT 8
240 #define _PRS_ROUTEPEN_CH8PEN_MASK 0x100UL
241 #define _PRS_ROUTEPEN_CH8PEN_DEFAULT 0x00000000UL
242 #define PRS_ROUTEPEN_CH8PEN_DEFAULT (_PRS_ROUTEPEN_CH8PEN_DEFAULT << 8)
243 #define PRS_ROUTEPEN_CH9PEN (0x1UL << 9)
244 #define _PRS_ROUTEPEN_CH9PEN_SHIFT 9
245 #define _PRS_ROUTEPEN_CH9PEN_MASK 0x200UL
246 #define _PRS_ROUTEPEN_CH9PEN_DEFAULT 0x00000000UL
247 #define PRS_ROUTEPEN_CH9PEN_DEFAULT (_PRS_ROUTEPEN_CH9PEN_DEFAULT << 9)
248 #define PRS_ROUTEPEN_CH10PEN (0x1UL << 10)
249 #define _PRS_ROUTEPEN_CH10PEN_SHIFT 10
250 #define _PRS_ROUTEPEN_CH10PEN_MASK 0x400UL
251 #define _PRS_ROUTEPEN_CH10PEN_DEFAULT 0x00000000UL
252 #define PRS_ROUTEPEN_CH10PEN_DEFAULT (_PRS_ROUTEPEN_CH10PEN_DEFAULT << 10)
253 #define PRS_ROUTEPEN_CH11PEN (0x1UL << 11)
254 #define _PRS_ROUTEPEN_CH11PEN_SHIFT 11
255 #define _PRS_ROUTEPEN_CH11PEN_MASK 0x800UL
256 #define _PRS_ROUTEPEN_CH11PEN_DEFAULT 0x00000000UL
257 #define PRS_ROUTEPEN_CH11PEN_DEFAULT (_PRS_ROUTEPEN_CH11PEN_DEFAULT << 11)
259 /* Bit fields for PRS ROUTELOC0 */
260 #define _PRS_ROUTELOC0_RESETVALUE 0x00000000UL
261 #define _PRS_ROUTELOC0_MASK 0x0F07070FUL
262 #define _PRS_ROUTELOC0_CH0LOC_SHIFT 0
263 #define _PRS_ROUTELOC0_CH0LOC_MASK 0xFUL
264 #define _PRS_ROUTELOC0_CH0LOC_LOC0 0x00000000UL
265 #define _PRS_ROUTELOC0_CH0LOC_DEFAULT 0x00000000UL
266 #define _PRS_ROUTELOC0_CH0LOC_LOC1 0x00000001UL
267 #define _PRS_ROUTELOC0_CH0LOC_LOC2 0x00000002UL
268 #define _PRS_ROUTELOC0_CH0LOC_LOC3 0x00000003UL
269 #define _PRS_ROUTELOC0_CH0LOC_LOC4 0x00000004UL
270 #define _PRS_ROUTELOC0_CH0LOC_LOC5 0x00000005UL
271 #define _PRS_ROUTELOC0_CH0LOC_LOC6 0x00000006UL
272 #define _PRS_ROUTELOC0_CH0LOC_LOC7 0x00000007UL
273 #define _PRS_ROUTELOC0_CH0LOC_LOC8 0x00000008UL
274 #define _PRS_ROUTELOC0_CH0LOC_LOC9 0x00000009UL
275 #define _PRS_ROUTELOC0_CH0LOC_LOC10 0x0000000AUL
276 #define _PRS_ROUTELOC0_CH0LOC_LOC11 0x0000000BUL
277 #define _PRS_ROUTELOC0_CH0LOC_LOC12 0x0000000CUL
278 #define _PRS_ROUTELOC0_CH0LOC_LOC13 0x0000000DUL
279 #define PRS_ROUTELOC0_CH0LOC_LOC0 (_PRS_ROUTELOC0_CH0LOC_LOC0 << 0)
280 #define PRS_ROUTELOC0_CH0LOC_DEFAULT (_PRS_ROUTELOC0_CH0LOC_DEFAULT << 0)
281 #define PRS_ROUTELOC0_CH0LOC_LOC1 (_PRS_ROUTELOC0_CH0LOC_LOC1 << 0)
282 #define PRS_ROUTELOC0_CH0LOC_LOC2 (_PRS_ROUTELOC0_CH0LOC_LOC2 << 0)
283 #define PRS_ROUTELOC0_CH0LOC_LOC3 (_PRS_ROUTELOC0_CH0LOC_LOC3 << 0)
284 #define PRS_ROUTELOC0_CH0LOC_LOC4 (_PRS_ROUTELOC0_CH0LOC_LOC4 << 0)
285 #define PRS_ROUTELOC0_CH0LOC_LOC5 (_PRS_ROUTELOC0_CH0LOC_LOC5 << 0)
286 #define PRS_ROUTELOC0_CH0LOC_LOC6 (_PRS_ROUTELOC0_CH0LOC_LOC6 << 0)
287 #define PRS_ROUTELOC0_CH0LOC_LOC7 (_PRS_ROUTELOC0_CH0LOC_LOC7 << 0)
288 #define PRS_ROUTELOC0_CH0LOC_LOC8 (_PRS_ROUTELOC0_CH0LOC_LOC8 << 0)
289 #define PRS_ROUTELOC0_CH0LOC_LOC9 (_PRS_ROUTELOC0_CH0LOC_LOC9 << 0)
290 #define PRS_ROUTELOC0_CH0LOC_LOC10 (_PRS_ROUTELOC0_CH0LOC_LOC10 << 0)
291 #define PRS_ROUTELOC0_CH0LOC_LOC11 (_PRS_ROUTELOC0_CH0LOC_LOC11 << 0)
292 #define PRS_ROUTELOC0_CH0LOC_LOC12 (_PRS_ROUTELOC0_CH0LOC_LOC12 << 0)
293 #define PRS_ROUTELOC0_CH0LOC_LOC13 (_PRS_ROUTELOC0_CH0LOC_LOC13 << 0)
294 #define _PRS_ROUTELOC0_CH1LOC_SHIFT 8
295 #define _PRS_ROUTELOC0_CH1LOC_MASK 0x700UL
296 #define _PRS_ROUTELOC0_CH1LOC_LOC0 0x00000000UL
297 #define _PRS_ROUTELOC0_CH1LOC_DEFAULT 0x00000000UL
298 #define _PRS_ROUTELOC0_CH1LOC_LOC1 0x00000001UL
299 #define _PRS_ROUTELOC0_CH1LOC_LOC2 0x00000002UL
300 #define _PRS_ROUTELOC0_CH1LOC_LOC3 0x00000003UL
301 #define _PRS_ROUTELOC0_CH1LOC_LOC4 0x00000004UL
302 #define _PRS_ROUTELOC0_CH1LOC_LOC5 0x00000005UL
303 #define _PRS_ROUTELOC0_CH1LOC_LOC6 0x00000006UL
304 #define _PRS_ROUTELOC0_CH1LOC_LOC7 0x00000007UL
305 #define PRS_ROUTELOC0_CH1LOC_LOC0 (_PRS_ROUTELOC0_CH1LOC_LOC0 << 8)
306 #define PRS_ROUTELOC0_CH1LOC_DEFAULT (_PRS_ROUTELOC0_CH1LOC_DEFAULT << 8)
307 #define PRS_ROUTELOC0_CH1LOC_LOC1 (_PRS_ROUTELOC0_CH1LOC_LOC1 << 8)
308 #define PRS_ROUTELOC0_CH1LOC_LOC2 (_PRS_ROUTELOC0_CH1LOC_LOC2 << 8)
309 #define PRS_ROUTELOC0_CH1LOC_LOC3 (_PRS_ROUTELOC0_CH1LOC_LOC3 << 8)
310 #define PRS_ROUTELOC0_CH1LOC_LOC4 (_PRS_ROUTELOC0_CH1LOC_LOC4 << 8)
311 #define PRS_ROUTELOC0_CH1LOC_LOC5 (_PRS_ROUTELOC0_CH1LOC_LOC5 << 8)
312 #define PRS_ROUTELOC0_CH1LOC_LOC6 (_PRS_ROUTELOC0_CH1LOC_LOC6 << 8)
313 #define PRS_ROUTELOC0_CH1LOC_LOC7 (_PRS_ROUTELOC0_CH1LOC_LOC7 << 8)
314 #define _PRS_ROUTELOC0_CH2LOC_SHIFT 16
315 #define _PRS_ROUTELOC0_CH2LOC_MASK 0x70000UL
316 #define _PRS_ROUTELOC0_CH2LOC_LOC0 0x00000000UL
317 #define _PRS_ROUTELOC0_CH2LOC_DEFAULT 0x00000000UL
318 #define _PRS_ROUTELOC0_CH2LOC_LOC1 0x00000001UL
319 #define _PRS_ROUTELOC0_CH2LOC_LOC2 0x00000002UL
320 #define _PRS_ROUTELOC0_CH2LOC_LOC3 0x00000003UL
321 #define _PRS_ROUTELOC0_CH2LOC_LOC4 0x00000004UL
322 #define _PRS_ROUTELOC0_CH2LOC_LOC5 0x00000005UL
323 #define _PRS_ROUTELOC0_CH2LOC_LOC6 0x00000006UL
324 #define _PRS_ROUTELOC0_CH2LOC_LOC7 0x00000007UL
325 #define PRS_ROUTELOC0_CH2LOC_LOC0 (_PRS_ROUTELOC0_CH2LOC_LOC0 << 16)
326 #define PRS_ROUTELOC0_CH2LOC_DEFAULT (_PRS_ROUTELOC0_CH2LOC_DEFAULT << 16)
327 #define PRS_ROUTELOC0_CH2LOC_LOC1 (_PRS_ROUTELOC0_CH2LOC_LOC1 << 16)
328 #define PRS_ROUTELOC0_CH2LOC_LOC2 (_PRS_ROUTELOC0_CH2LOC_LOC2 << 16)
329 #define PRS_ROUTELOC0_CH2LOC_LOC3 (_PRS_ROUTELOC0_CH2LOC_LOC3 << 16)
330 #define PRS_ROUTELOC0_CH2LOC_LOC4 (_PRS_ROUTELOC0_CH2LOC_LOC4 << 16)
331 #define PRS_ROUTELOC0_CH2LOC_LOC5 (_PRS_ROUTELOC0_CH2LOC_LOC5 << 16)
332 #define PRS_ROUTELOC0_CH2LOC_LOC6 (_PRS_ROUTELOC0_CH2LOC_LOC6 << 16)
333 #define PRS_ROUTELOC0_CH2LOC_LOC7 (_PRS_ROUTELOC0_CH2LOC_LOC7 << 16)
334 #define _PRS_ROUTELOC0_CH3LOC_SHIFT 24
335 #define _PRS_ROUTELOC0_CH3LOC_MASK 0xF000000UL
336 #define _PRS_ROUTELOC0_CH3LOC_LOC0 0x00000000UL
337 #define _PRS_ROUTELOC0_CH3LOC_DEFAULT 0x00000000UL
338 #define _PRS_ROUTELOC0_CH3LOC_LOC1 0x00000001UL
339 #define _PRS_ROUTELOC0_CH3LOC_LOC2 0x00000002UL
340 #define _PRS_ROUTELOC0_CH3LOC_LOC3 0x00000003UL
341 #define _PRS_ROUTELOC0_CH3LOC_LOC4 0x00000004UL
342 #define _PRS_ROUTELOC0_CH3LOC_LOC5 0x00000005UL
343 #define _PRS_ROUTELOC0_CH3LOC_LOC6 0x00000006UL
344 #define _PRS_ROUTELOC0_CH3LOC_LOC7 0x00000007UL
345 #define _PRS_ROUTELOC0_CH3LOC_LOC8 0x00000008UL
346 #define _PRS_ROUTELOC0_CH3LOC_LOC9 0x00000009UL
347 #define _PRS_ROUTELOC0_CH3LOC_LOC10 0x0000000AUL
348 #define _PRS_ROUTELOC0_CH3LOC_LOC11 0x0000000BUL
349 #define _PRS_ROUTELOC0_CH3LOC_LOC12 0x0000000CUL
350 #define _PRS_ROUTELOC0_CH3LOC_LOC13 0x0000000DUL
351 #define _PRS_ROUTELOC0_CH3LOC_LOC14 0x0000000EUL
352 #define PRS_ROUTELOC0_CH3LOC_LOC0 (_PRS_ROUTELOC0_CH3LOC_LOC0 << 24)
353 #define PRS_ROUTELOC0_CH3LOC_DEFAULT (_PRS_ROUTELOC0_CH3LOC_DEFAULT << 24)
354 #define PRS_ROUTELOC0_CH3LOC_LOC1 (_PRS_ROUTELOC0_CH3LOC_LOC1 << 24)
355 #define PRS_ROUTELOC0_CH3LOC_LOC2 (_PRS_ROUTELOC0_CH3LOC_LOC2 << 24)
356 #define PRS_ROUTELOC0_CH3LOC_LOC3 (_PRS_ROUTELOC0_CH3LOC_LOC3 << 24)
357 #define PRS_ROUTELOC0_CH3LOC_LOC4 (_PRS_ROUTELOC0_CH3LOC_LOC4 << 24)
358 #define PRS_ROUTELOC0_CH3LOC_LOC5 (_PRS_ROUTELOC0_CH3LOC_LOC5 << 24)
359 #define PRS_ROUTELOC0_CH3LOC_LOC6 (_PRS_ROUTELOC0_CH3LOC_LOC6 << 24)
360 #define PRS_ROUTELOC0_CH3LOC_LOC7 (_PRS_ROUTELOC0_CH3LOC_LOC7 << 24)
361 #define PRS_ROUTELOC0_CH3LOC_LOC8 (_PRS_ROUTELOC0_CH3LOC_LOC8 << 24)
362 #define PRS_ROUTELOC0_CH3LOC_LOC9 (_PRS_ROUTELOC0_CH3LOC_LOC9 << 24)
363 #define PRS_ROUTELOC0_CH3LOC_LOC10 (_PRS_ROUTELOC0_CH3LOC_LOC10 << 24)
364 #define PRS_ROUTELOC0_CH3LOC_LOC11 (_PRS_ROUTELOC0_CH3LOC_LOC11 << 24)
365 #define PRS_ROUTELOC0_CH3LOC_LOC12 (_PRS_ROUTELOC0_CH3LOC_LOC12 << 24)
366 #define PRS_ROUTELOC0_CH3LOC_LOC13 (_PRS_ROUTELOC0_CH3LOC_LOC13 << 24)
367 #define PRS_ROUTELOC0_CH3LOC_LOC14 (_PRS_ROUTELOC0_CH3LOC_LOC14 << 24)
369 /* Bit fields for PRS ROUTELOC1 */
370 #define _PRS_ROUTELOC1_RESETVALUE 0x00000000UL
371 #define _PRS_ROUTELOC1_MASK 0x0F1F0707UL
372 #define _PRS_ROUTELOC1_CH4LOC_SHIFT 0
373 #define _PRS_ROUTELOC1_CH4LOC_MASK 0x7UL
374 #define _PRS_ROUTELOC1_CH4LOC_LOC0 0x00000000UL
375 #define _PRS_ROUTELOC1_CH4LOC_DEFAULT 0x00000000UL
376 #define _PRS_ROUTELOC1_CH4LOC_LOC1 0x00000001UL
377 #define _PRS_ROUTELOC1_CH4LOC_LOC2 0x00000002UL
378 #define _PRS_ROUTELOC1_CH4LOC_LOC3 0x00000003UL
379 #define _PRS_ROUTELOC1_CH4LOC_LOC4 0x00000004UL
380 #define _PRS_ROUTELOC1_CH4LOC_LOC5 0x00000005UL
381 #define _PRS_ROUTELOC1_CH4LOC_LOC6 0x00000006UL
382 #define PRS_ROUTELOC1_CH4LOC_LOC0 (_PRS_ROUTELOC1_CH4LOC_LOC0 << 0)
383 #define PRS_ROUTELOC1_CH4LOC_DEFAULT (_PRS_ROUTELOC1_CH4LOC_DEFAULT << 0)
384 #define PRS_ROUTELOC1_CH4LOC_LOC1 (_PRS_ROUTELOC1_CH4LOC_LOC1 << 0)
385 #define PRS_ROUTELOC1_CH4LOC_LOC2 (_PRS_ROUTELOC1_CH4LOC_LOC2 << 0)
386 #define PRS_ROUTELOC1_CH4LOC_LOC3 (_PRS_ROUTELOC1_CH4LOC_LOC3 << 0)
387 #define PRS_ROUTELOC1_CH4LOC_LOC4 (_PRS_ROUTELOC1_CH4LOC_LOC4 << 0)
388 #define PRS_ROUTELOC1_CH4LOC_LOC5 (_PRS_ROUTELOC1_CH4LOC_LOC5 << 0)
389 #define PRS_ROUTELOC1_CH4LOC_LOC6 (_PRS_ROUTELOC1_CH4LOC_LOC6 << 0)
390 #define _PRS_ROUTELOC1_CH5LOC_SHIFT 8
391 #define _PRS_ROUTELOC1_CH5LOC_MASK 0x700UL
392 #define _PRS_ROUTELOC1_CH5LOC_LOC0 0x00000000UL
393 #define _PRS_ROUTELOC1_CH5LOC_DEFAULT 0x00000000UL
394 #define _PRS_ROUTELOC1_CH5LOC_LOC1 0x00000001UL
395 #define _PRS_ROUTELOC1_CH5LOC_LOC2 0x00000002UL
396 #define _PRS_ROUTELOC1_CH5LOC_LOC3 0x00000003UL
397 #define _PRS_ROUTELOC1_CH5LOC_LOC4 0x00000004UL
398 #define _PRS_ROUTELOC1_CH5LOC_LOC5 0x00000005UL
399 #define _PRS_ROUTELOC1_CH5LOC_LOC6 0x00000006UL
400 #define PRS_ROUTELOC1_CH5LOC_LOC0 (_PRS_ROUTELOC1_CH5LOC_LOC0 << 8)
401 #define PRS_ROUTELOC1_CH5LOC_DEFAULT (_PRS_ROUTELOC1_CH5LOC_DEFAULT << 8)
402 #define PRS_ROUTELOC1_CH5LOC_LOC1 (_PRS_ROUTELOC1_CH5LOC_LOC1 << 8)
403 #define PRS_ROUTELOC1_CH5LOC_LOC2 (_PRS_ROUTELOC1_CH5LOC_LOC2 << 8)
404 #define PRS_ROUTELOC1_CH5LOC_LOC3 (_PRS_ROUTELOC1_CH5LOC_LOC3 << 8)
405 #define PRS_ROUTELOC1_CH5LOC_LOC4 (_PRS_ROUTELOC1_CH5LOC_LOC4 << 8)
406 #define PRS_ROUTELOC1_CH5LOC_LOC5 (_PRS_ROUTELOC1_CH5LOC_LOC5 << 8)
407 #define PRS_ROUTELOC1_CH5LOC_LOC6 (_PRS_ROUTELOC1_CH5LOC_LOC6 << 8)
408 #define _PRS_ROUTELOC1_CH6LOC_SHIFT 16
409 #define _PRS_ROUTELOC1_CH6LOC_MASK 0x1F0000UL
410 #define _PRS_ROUTELOC1_CH6LOC_LOC0 0x00000000UL
411 #define _PRS_ROUTELOC1_CH6LOC_DEFAULT 0x00000000UL
412 #define _PRS_ROUTELOC1_CH6LOC_LOC1 0x00000001UL
413 #define _PRS_ROUTELOC1_CH6LOC_LOC2 0x00000002UL
414 #define _PRS_ROUTELOC1_CH6LOC_LOC3 0x00000003UL
415 #define _PRS_ROUTELOC1_CH6LOC_LOC4 0x00000004UL
416 #define _PRS_ROUTELOC1_CH6LOC_LOC5 0x00000005UL
417 #define _PRS_ROUTELOC1_CH6LOC_LOC6 0x00000006UL
418 #define _PRS_ROUTELOC1_CH6LOC_LOC7 0x00000007UL
419 #define _PRS_ROUTELOC1_CH6LOC_LOC8 0x00000008UL
420 #define _PRS_ROUTELOC1_CH6LOC_LOC9 0x00000009UL
421 #define _PRS_ROUTELOC1_CH6LOC_LOC10 0x0000000AUL
422 #define _PRS_ROUTELOC1_CH6LOC_LOC11 0x0000000BUL
423 #define _PRS_ROUTELOC1_CH6LOC_LOC12 0x0000000CUL
424 #define _PRS_ROUTELOC1_CH6LOC_LOC13 0x0000000DUL
425 #define _PRS_ROUTELOC1_CH6LOC_LOC14 0x0000000EUL
426 #define _PRS_ROUTELOC1_CH6LOC_LOC15 0x0000000FUL
427 #define _PRS_ROUTELOC1_CH6LOC_LOC16 0x00000010UL
428 #define _PRS_ROUTELOC1_CH6LOC_LOC17 0x00000011UL
429 #define PRS_ROUTELOC1_CH6LOC_LOC0 (_PRS_ROUTELOC1_CH6LOC_LOC0 << 16)
430 #define PRS_ROUTELOC1_CH6LOC_DEFAULT (_PRS_ROUTELOC1_CH6LOC_DEFAULT << 16)
431 #define PRS_ROUTELOC1_CH6LOC_LOC1 (_PRS_ROUTELOC1_CH6LOC_LOC1 << 16)
432 #define PRS_ROUTELOC1_CH6LOC_LOC2 (_PRS_ROUTELOC1_CH6LOC_LOC2 << 16)
433 #define PRS_ROUTELOC1_CH6LOC_LOC3 (_PRS_ROUTELOC1_CH6LOC_LOC3 << 16)
434 #define PRS_ROUTELOC1_CH6LOC_LOC4 (_PRS_ROUTELOC1_CH6LOC_LOC4 << 16)
435 #define PRS_ROUTELOC1_CH6LOC_LOC5 (_PRS_ROUTELOC1_CH6LOC_LOC5 << 16)
436 #define PRS_ROUTELOC1_CH6LOC_LOC6 (_PRS_ROUTELOC1_CH6LOC_LOC6 << 16)
437 #define PRS_ROUTELOC1_CH6LOC_LOC7 (_PRS_ROUTELOC1_CH6LOC_LOC7 << 16)
438 #define PRS_ROUTELOC1_CH6LOC_LOC8 (_PRS_ROUTELOC1_CH6LOC_LOC8 << 16)
439 #define PRS_ROUTELOC1_CH6LOC_LOC9 (_PRS_ROUTELOC1_CH6LOC_LOC9 << 16)
440 #define PRS_ROUTELOC1_CH6LOC_LOC10 (_PRS_ROUTELOC1_CH6LOC_LOC10 << 16)
441 #define PRS_ROUTELOC1_CH6LOC_LOC11 (_PRS_ROUTELOC1_CH6LOC_LOC11 << 16)
442 #define PRS_ROUTELOC1_CH6LOC_LOC12 (_PRS_ROUTELOC1_CH6LOC_LOC12 << 16)
443 #define PRS_ROUTELOC1_CH6LOC_LOC13 (_PRS_ROUTELOC1_CH6LOC_LOC13 << 16)
444 #define PRS_ROUTELOC1_CH6LOC_LOC14 (_PRS_ROUTELOC1_CH6LOC_LOC14 << 16)
445 #define PRS_ROUTELOC1_CH6LOC_LOC15 (_PRS_ROUTELOC1_CH6LOC_LOC15 << 16)
446 #define PRS_ROUTELOC1_CH6LOC_LOC16 (_PRS_ROUTELOC1_CH6LOC_LOC16 << 16)
447 #define PRS_ROUTELOC1_CH6LOC_LOC17 (_PRS_ROUTELOC1_CH6LOC_LOC17 << 16)
448 #define _PRS_ROUTELOC1_CH7LOC_SHIFT 24
449 #define _PRS_ROUTELOC1_CH7LOC_MASK 0xF000000UL
450 #define _PRS_ROUTELOC1_CH7LOC_LOC0 0x00000000UL
451 #define _PRS_ROUTELOC1_CH7LOC_DEFAULT 0x00000000UL
452 #define _PRS_ROUTELOC1_CH7LOC_LOC1 0x00000001UL
453 #define _PRS_ROUTELOC1_CH7LOC_LOC2 0x00000002UL
454 #define _PRS_ROUTELOC1_CH7LOC_LOC3 0x00000003UL
455 #define _PRS_ROUTELOC1_CH7LOC_LOC4 0x00000004UL
456 #define _PRS_ROUTELOC1_CH7LOC_LOC5 0x00000005UL
457 #define _PRS_ROUTELOC1_CH7LOC_LOC6 0x00000006UL
458 #define _PRS_ROUTELOC1_CH7LOC_LOC7 0x00000007UL
459 #define _PRS_ROUTELOC1_CH7LOC_LOC8 0x00000008UL
460 #define _PRS_ROUTELOC1_CH7LOC_LOC9 0x00000009UL
461 #define _PRS_ROUTELOC1_CH7LOC_LOC10 0x0000000AUL
462 #define PRS_ROUTELOC1_CH7LOC_LOC0 (_PRS_ROUTELOC1_CH7LOC_LOC0 << 24)
463 #define PRS_ROUTELOC1_CH7LOC_DEFAULT (_PRS_ROUTELOC1_CH7LOC_DEFAULT << 24)
464 #define PRS_ROUTELOC1_CH7LOC_LOC1 (_PRS_ROUTELOC1_CH7LOC_LOC1 << 24)
465 #define PRS_ROUTELOC1_CH7LOC_LOC2 (_PRS_ROUTELOC1_CH7LOC_LOC2 << 24)
466 #define PRS_ROUTELOC1_CH7LOC_LOC3 (_PRS_ROUTELOC1_CH7LOC_LOC3 << 24)
467 #define PRS_ROUTELOC1_CH7LOC_LOC4 (_PRS_ROUTELOC1_CH7LOC_LOC4 << 24)
468 #define PRS_ROUTELOC1_CH7LOC_LOC5 (_PRS_ROUTELOC1_CH7LOC_LOC5 << 24)
469 #define PRS_ROUTELOC1_CH7LOC_LOC6 (_PRS_ROUTELOC1_CH7LOC_LOC6 << 24)
470 #define PRS_ROUTELOC1_CH7LOC_LOC7 (_PRS_ROUTELOC1_CH7LOC_LOC7 << 24)
471 #define PRS_ROUTELOC1_CH7LOC_LOC8 (_PRS_ROUTELOC1_CH7LOC_LOC8 << 24)
472 #define PRS_ROUTELOC1_CH7LOC_LOC9 (_PRS_ROUTELOC1_CH7LOC_LOC9 << 24)
473 #define PRS_ROUTELOC1_CH7LOC_LOC10 (_PRS_ROUTELOC1_CH7LOC_LOC10 << 24)
475 /* Bit fields for PRS ROUTELOC2 */
476 #define _PRS_ROUTELOC2_RESETVALUE 0x00000000UL
477 #define _PRS_ROUTELOC2_MASK 0x07071F0FUL
478 #define _PRS_ROUTELOC2_CH8LOC_SHIFT 0
479 #define _PRS_ROUTELOC2_CH8LOC_MASK 0xFUL
480 #define _PRS_ROUTELOC2_CH8LOC_LOC0 0x00000000UL
481 #define _PRS_ROUTELOC2_CH8LOC_DEFAULT 0x00000000UL
482 #define _PRS_ROUTELOC2_CH8LOC_LOC1 0x00000001UL
483 #define _PRS_ROUTELOC2_CH8LOC_LOC2 0x00000002UL
484 #define _PRS_ROUTELOC2_CH8LOC_LOC3 0x00000003UL
485 #define _PRS_ROUTELOC2_CH8LOC_LOC4 0x00000004UL
486 #define _PRS_ROUTELOC2_CH8LOC_LOC5 0x00000005UL
487 #define _PRS_ROUTELOC2_CH8LOC_LOC6 0x00000006UL
488 #define _PRS_ROUTELOC2_CH8LOC_LOC7 0x00000007UL
489 #define _PRS_ROUTELOC2_CH8LOC_LOC8 0x00000008UL
490 #define _PRS_ROUTELOC2_CH8LOC_LOC9 0x00000009UL
491 #define _PRS_ROUTELOC2_CH8LOC_LOC10 0x0000000AUL
492 #define PRS_ROUTELOC2_CH8LOC_LOC0 (_PRS_ROUTELOC2_CH8LOC_LOC0 << 0)
493 #define PRS_ROUTELOC2_CH8LOC_DEFAULT (_PRS_ROUTELOC2_CH8LOC_DEFAULT << 0)
494 #define PRS_ROUTELOC2_CH8LOC_LOC1 (_PRS_ROUTELOC2_CH8LOC_LOC1 << 0)
495 #define PRS_ROUTELOC2_CH8LOC_LOC2 (_PRS_ROUTELOC2_CH8LOC_LOC2 << 0)
496 #define PRS_ROUTELOC2_CH8LOC_LOC3 (_PRS_ROUTELOC2_CH8LOC_LOC3 << 0)
497 #define PRS_ROUTELOC2_CH8LOC_LOC4 (_PRS_ROUTELOC2_CH8LOC_LOC4 << 0)
498 #define PRS_ROUTELOC2_CH8LOC_LOC5 (_PRS_ROUTELOC2_CH8LOC_LOC5 << 0)
499 #define PRS_ROUTELOC2_CH8LOC_LOC6 (_PRS_ROUTELOC2_CH8LOC_LOC6 << 0)
500 #define PRS_ROUTELOC2_CH8LOC_LOC7 (_PRS_ROUTELOC2_CH8LOC_LOC7 << 0)
501 #define PRS_ROUTELOC2_CH8LOC_LOC8 (_PRS_ROUTELOC2_CH8LOC_LOC8 << 0)
502 #define PRS_ROUTELOC2_CH8LOC_LOC9 (_PRS_ROUTELOC2_CH8LOC_LOC9 << 0)
503 #define PRS_ROUTELOC2_CH8LOC_LOC10 (_PRS_ROUTELOC2_CH8LOC_LOC10 << 0)
504 #define _PRS_ROUTELOC2_CH9LOC_SHIFT 8
505 #define _PRS_ROUTELOC2_CH9LOC_MASK 0x1F00UL
506 #define _PRS_ROUTELOC2_CH9LOC_LOC0 0x00000000UL
507 #define _PRS_ROUTELOC2_CH9LOC_DEFAULT 0x00000000UL
508 #define _PRS_ROUTELOC2_CH9LOC_LOC1 0x00000001UL
509 #define _PRS_ROUTELOC2_CH9LOC_LOC2 0x00000002UL
510 #define _PRS_ROUTELOC2_CH9LOC_LOC3 0x00000003UL
511 #define _PRS_ROUTELOC2_CH9LOC_LOC4 0x00000004UL
512 #define _PRS_ROUTELOC2_CH9LOC_LOC5 0x00000005UL
513 #define _PRS_ROUTELOC2_CH9LOC_LOC6 0x00000006UL
514 #define _PRS_ROUTELOC2_CH9LOC_LOC7 0x00000007UL
515 #define _PRS_ROUTELOC2_CH9LOC_LOC8 0x00000008UL
516 #define _PRS_ROUTELOC2_CH9LOC_LOC9 0x00000009UL
517 #define _PRS_ROUTELOC2_CH9LOC_LOC10 0x0000000AUL
518 #define _PRS_ROUTELOC2_CH9LOC_LOC11 0x0000000BUL
519 #define _PRS_ROUTELOC2_CH9LOC_LOC12 0x0000000CUL
520 #define _PRS_ROUTELOC2_CH9LOC_LOC13 0x0000000DUL
521 #define _PRS_ROUTELOC2_CH9LOC_LOC14 0x0000000EUL
522 #define _PRS_ROUTELOC2_CH9LOC_LOC15 0x0000000FUL
523 #define _PRS_ROUTELOC2_CH9LOC_LOC16 0x00000010UL
524 #define PRS_ROUTELOC2_CH9LOC_LOC0 (_PRS_ROUTELOC2_CH9LOC_LOC0 << 8)
525 #define PRS_ROUTELOC2_CH9LOC_DEFAULT (_PRS_ROUTELOC2_CH9LOC_DEFAULT << 8)
526 #define PRS_ROUTELOC2_CH9LOC_LOC1 (_PRS_ROUTELOC2_CH9LOC_LOC1 << 8)
527 #define PRS_ROUTELOC2_CH9LOC_LOC2 (_PRS_ROUTELOC2_CH9LOC_LOC2 << 8)
528 #define PRS_ROUTELOC2_CH9LOC_LOC3 (_PRS_ROUTELOC2_CH9LOC_LOC3 << 8)
529 #define PRS_ROUTELOC2_CH9LOC_LOC4 (_PRS_ROUTELOC2_CH9LOC_LOC4 << 8)
530 #define PRS_ROUTELOC2_CH9LOC_LOC5 (_PRS_ROUTELOC2_CH9LOC_LOC5 << 8)
531 #define PRS_ROUTELOC2_CH9LOC_LOC6 (_PRS_ROUTELOC2_CH9LOC_LOC6 << 8)
532 #define PRS_ROUTELOC2_CH9LOC_LOC7 (_PRS_ROUTELOC2_CH9LOC_LOC7 << 8)
533 #define PRS_ROUTELOC2_CH9LOC_LOC8 (_PRS_ROUTELOC2_CH9LOC_LOC8 << 8)
534 #define PRS_ROUTELOC2_CH9LOC_LOC9 (_PRS_ROUTELOC2_CH9LOC_LOC9 << 8)
535 #define PRS_ROUTELOC2_CH9LOC_LOC10 (_PRS_ROUTELOC2_CH9LOC_LOC10 << 8)
536 #define PRS_ROUTELOC2_CH9LOC_LOC11 (_PRS_ROUTELOC2_CH9LOC_LOC11 << 8)
537 #define PRS_ROUTELOC2_CH9LOC_LOC12 (_PRS_ROUTELOC2_CH9LOC_LOC12 << 8)
538 #define PRS_ROUTELOC2_CH9LOC_LOC13 (_PRS_ROUTELOC2_CH9LOC_LOC13 << 8)
539 #define PRS_ROUTELOC2_CH9LOC_LOC14 (_PRS_ROUTELOC2_CH9LOC_LOC14 << 8)
540 #define PRS_ROUTELOC2_CH9LOC_LOC15 (_PRS_ROUTELOC2_CH9LOC_LOC15 << 8)
541 #define PRS_ROUTELOC2_CH9LOC_LOC16 (_PRS_ROUTELOC2_CH9LOC_LOC16 << 8)
542 #define _PRS_ROUTELOC2_CH10LOC_SHIFT 16
543 #define _PRS_ROUTELOC2_CH10LOC_MASK 0x70000UL
544 #define _PRS_ROUTELOC2_CH10LOC_LOC0 0x00000000UL
545 #define _PRS_ROUTELOC2_CH10LOC_DEFAULT 0x00000000UL
546 #define _PRS_ROUTELOC2_CH10LOC_LOC1 0x00000001UL
547 #define _PRS_ROUTELOC2_CH10LOC_LOC2 0x00000002UL
548 #define _PRS_ROUTELOC2_CH10LOC_LOC3 0x00000003UL
549 #define _PRS_ROUTELOC2_CH10LOC_LOC4 0x00000004UL
550 #define _PRS_ROUTELOC2_CH10LOC_LOC5 0x00000005UL
551 #define PRS_ROUTELOC2_CH10LOC_LOC0 (_PRS_ROUTELOC2_CH10LOC_LOC0 << 16)
552 #define PRS_ROUTELOC2_CH10LOC_DEFAULT (_PRS_ROUTELOC2_CH10LOC_DEFAULT << 16)
553 #define PRS_ROUTELOC2_CH10LOC_LOC1 (_PRS_ROUTELOC2_CH10LOC_LOC1 << 16)
554 #define PRS_ROUTELOC2_CH10LOC_LOC2 (_PRS_ROUTELOC2_CH10LOC_LOC2 << 16)
555 #define PRS_ROUTELOC2_CH10LOC_LOC3 (_PRS_ROUTELOC2_CH10LOC_LOC3 << 16)
556 #define PRS_ROUTELOC2_CH10LOC_LOC4 (_PRS_ROUTELOC2_CH10LOC_LOC4 << 16)
557 #define PRS_ROUTELOC2_CH10LOC_LOC5 (_PRS_ROUTELOC2_CH10LOC_LOC5 << 16)
558 #define _PRS_ROUTELOC2_CH11LOC_SHIFT 24
559 #define _PRS_ROUTELOC2_CH11LOC_MASK 0x7000000UL
560 #define _PRS_ROUTELOC2_CH11LOC_LOC0 0x00000000UL
561 #define _PRS_ROUTELOC2_CH11LOC_DEFAULT 0x00000000UL
562 #define _PRS_ROUTELOC2_CH11LOC_LOC1 0x00000001UL
563 #define _PRS_ROUTELOC2_CH11LOC_LOC2 0x00000002UL
564 #define _PRS_ROUTELOC2_CH11LOC_LOC3 0x00000003UL
565 #define _PRS_ROUTELOC2_CH11LOC_LOC4 0x00000004UL
566 #define _PRS_ROUTELOC2_CH11LOC_LOC5 0x00000005UL
567 #define PRS_ROUTELOC2_CH11LOC_LOC0 (_PRS_ROUTELOC2_CH11LOC_LOC0 << 24)
568 #define PRS_ROUTELOC2_CH11LOC_DEFAULT (_PRS_ROUTELOC2_CH11LOC_DEFAULT << 24)
569 #define PRS_ROUTELOC2_CH11LOC_LOC1 (_PRS_ROUTELOC2_CH11LOC_LOC1 << 24)
570 #define PRS_ROUTELOC2_CH11LOC_LOC2 (_PRS_ROUTELOC2_CH11LOC_LOC2 << 24)
571 #define PRS_ROUTELOC2_CH11LOC_LOC3 (_PRS_ROUTELOC2_CH11LOC_LOC3 << 24)
572 #define PRS_ROUTELOC2_CH11LOC_LOC4 (_PRS_ROUTELOC2_CH11LOC_LOC4 << 24)
573 #define PRS_ROUTELOC2_CH11LOC_LOC5 (_PRS_ROUTELOC2_CH11LOC_LOC5 << 24)
575 /* Bit fields for PRS CTRL */
576 #define _PRS_CTRL_RESETVALUE 0x00000000UL
577 #define _PRS_CTRL_MASK 0x0000001FUL
578 #define PRS_CTRL_SEVONPRS (0x1UL << 0)
579 #define _PRS_CTRL_SEVONPRS_SHIFT 0
580 #define _PRS_CTRL_SEVONPRS_MASK 0x1UL
581 #define _PRS_CTRL_SEVONPRS_DEFAULT 0x00000000UL
582 #define PRS_CTRL_SEVONPRS_DEFAULT (_PRS_CTRL_SEVONPRS_DEFAULT << 0)
583 #define _PRS_CTRL_SEVONPRSSEL_SHIFT 1
584 #define _PRS_CTRL_SEVONPRSSEL_MASK 0x1EUL
585 #define _PRS_CTRL_SEVONPRSSEL_DEFAULT 0x00000000UL
586 #define _PRS_CTRL_SEVONPRSSEL_PRSCH0 0x00000000UL
587 #define _PRS_CTRL_SEVONPRSSEL_PRSCH1 0x00000001UL
588 #define _PRS_CTRL_SEVONPRSSEL_PRSCH2 0x00000002UL
589 #define _PRS_CTRL_SEVONPRSSEL_PRSCH3 0x00000003UL
590 #define _PRS_CTRL_SEVONPRSSEL_PRSCH4 0x00000004UL
591 #define _PRS_CTRL_SEVONPRSSEL_PRSCH5 0x00000005UL
592 #define _PRS_CTRL_SEVONPRSSEL_PRSCH6 0x00000006UL
593 #define _PRS_CTRL_SEVONPRSSEL_PRSCH7 0x00000007UL
594 #define _PRS_CTRL_SEVONPRSSEL_PRSCH8 0x00000008UL
595 #define _PRS_CTRL_SEVONPRSSEL_PRSCH9 0x00000009UL
596 #define _PRS_CTRL_SEVONPRSSEL_PRSCH10 0x0000000AUL
597 #define _PRS_CTRL_SEVONPRSSEL_PRSCH11 0x0000000BUL
598 #define PRS_CTRL_SEVONPRSSEL_DEFAULT (_PRS_CTRL_SEVONPRSSEL_DEFAULT << 1)
599 #define PRS_CTRL_SEVONPRSSEL_PRSCH0 (_PRS_CTRL_SEVONPRSSEL_PRSCH0 << 1)
600 #define PRS_CTRL_SEVONPRSSEL_PRSCH1 (_PRS_CTRL_SEVONPRSSEL_PRSCH1 << 1)
601 #define PRS_CTRL_SEVONPRSSEL_PRSCH2 (_PRS_CTRL_SEVONPRSSEL_PRSCH2 << 1)
602 #define PRS_CTRL_SEVONPRSSEL_PRSCH3 (_PRS_CTRL_SEVONPRSSEL_PRSCH3 << 1)
603 #define PRS_CTRL_SEVONPRSSEL_PRSCH4 (_PRS_CTRL_SEVONPRSSEL_PRSCH4 << 1)
604 #define PRS_CTRL_SEVONPRSSEL_PRSCH5 (_PRS_CTRL_SEVONPRSSEL_PRSCH5 << 1)
605 #define PRS_CTRL_SEVONPRSSEL_PRSCH6 (_PRS_CTRL_SEVONPRSSEL_PRSCH6 << 1)
606 #define PRS_CTRL_SEVONPRSSEL_PRSCH7 (_PRS_CTRL_SEVONPRSSEL_PRSCH7 << 1)
607 #define PRS_CTRL_SEVONPRSSEL_PRSCH8 (_PRS_CTRL_SEVONPRSSEL_PRSCH8 << 1)
608 #define PRS_CTRL_SEVONPRSSEL_PRSCH9 (_PRS_CTRL_SEVONPRSSEL_PRSCH9 << 1)
609 #define PRS_CTRL_SEVONPRSSEL_PRSCH10 (_PRS_CTRL_SEVONPRSSEL_PRSCH10 << 1)
610 #define PRS_CTRL_SEVONPRSSEL_PRSCH11 (_PRS_CTRL_SEVONPRSSEL_PRSCH11 << 1)
612 /* Bit fields for PRS DMAREQ0 */
613 #define _PRS_DMAREQ0_RESETVALUE 0x00000000UL
614 #define _PRS_DMAREQ0_MASK 0x000003C0UL
615 #define _PRS_DMAREQ0_PRSSEL_SHIFT 6
616 #define _PRS_DMAREQ0_PRSSEL_MASK 0x3C0UL
617 #define _PRS_DMAREQ0_PRSSEL_DEFAULT 0x00000000UL
618 #define _PRS_DMAREQ0_PRSSEL_PRSCH0 0x00000000UL
619 #define _PRS_DMAREQ0_PRSSEL_PRSCH1 0x00000001UL
620 #define _PRS_DMAREQ0_PRSSEL_PRSCH2 0x00000002UL
621 #define _PRS_DMAREQ0_PRSSEL_PRSCH3 0x00000003UL
622 #define _PRS_DMAREQ0_PRSSEL_PRSCH4 0x00000004UL
623 #define _PRS_DMAREQ0_PRSSEL_PRSCH5 0x00000005UL
624 #define _PRS_DMAREQ0_PRSSEL_PRSCH6 0x00000006UL
625 #define _PRS_DMAREQ0_PRSSEL_PRSCH7 0x00000007UL
626 #define _PRS_DMAREQ0_PRSSEL_PRSCH8 0x00000008UL
627 #define _PRS_DMAREQ0_PRSSEL_PRSCH9 0x00000009UL
628 #define _PRS_DMAREQ0_PRSSEL_PRSCH10 0x0000000AUL
629 #define _PRS_DMAREQ0_PRSSEL_PRSCH11 0x0000000BUL
630 #define PRS_DMAREQ0_PRSSEL_DEFAULT (_PRS_DMAREQ0_PRSSEL_DEFAULT << 6)
631 #define PRS_DMAREQ0_PRSSEL_PRSCH0 (_PRS_DMAREQ0_PRSSEL_PRSCH0 << 6)
632 #define PRS_DMAREQ0_PRSSEL_PRSCH1 (_PRS_DMAREQ0_PRSSEL_PRSCH1 << 6)
633 #define PRS_DMAREQ0_PRSSEL_PRSCH2 (_PRS_DMAREQ0_PRSSEL_PRSCH2 << 6)
634 #define PRS_DMAREQ0_PRSSEL_PRSCH3 (_PRS_DMAREQ0_PRSSEL_PRSCH3 << 6)
635 #define PRS_DMAREQ0_PRSSEL_PRSCH4 (_PRS_DMAREQ0_PRSSEL_PRSCH4 << 6)
636 #define PRS_DMAREQ0_PRSSEL_PRSCH5 (_PRS_DMAREQ0_PRSSEL_PRSCH5 << 6)
637 #define PRS_DMAREQ0_PRSSEL_PRSCH6 (_PRS_DMAREQ0_PRSSEL_PRSCH6 << 6)
638 #define PRS_DMAREQ0_PRSSEL_PRSCH7 (_PRS_DMAREQ0_PRSSEL_PRSCH7 << 6)
639 #define PRS_DMAREQ0_PRSSEL_PRSCH8 (_PRS_DMAREQ0_PRSSEL_PRSCH8 << 6)
640 #define PRS_DMAREQ0_PRSSEL_PRSCH9 (_PRS_DMAREQ0_PRSSEL_PRSCH9 << 6)
641 #define PRS_DMAREQ0_PRSSEL_PRSCH10 (_PRS_DMAREQ0_PRSSEL_PRSCH10 << 6)
642 #define PRS_DMAREQ0_PRSSEL_PRSCH11 (_PRS_DMAREQ0_PRSSEL_PRSCH11 << 6)
644 /* Bit fields for PRS DMAREQ1 */
645 #define _PRS_DMAREQ1_RESETVALUE 0x00000000UL
646 #define _PRS_DMAREQ1_MASK 0x000003C0UL
647 #define _PRS_DMAREQ1_PRSSEL_SHIFT 6
648 #define _PRS_DMAREQ1_PRSSEL_MASK 0x3C0UL
649 #define _PRS_DMAREQ1_PRSSEL_DEFAULT 0x00000000UL
650 #define _PRS_DMAREQ1_PRSSEL_PRSCH0 0x00000000UL
651 #define _PRS_DMAREQ1_PRSSEL_PRSCH1 0x00000001UL
652 #define _PRS_DMAREQ1_PRSSEL_PRSCH2 0x00000002UL
653 #define _PRS_DMAREQ1_PRSSEL_PRSCH3 0x00000003UL
654 #define _PRS_DMAREQ1_PRSSEL_PRSCH4 0x00000004UL
655 #define _PRS_DMAREQ1_PRSSEL_PRSCH5 0x00000005UL
656 #define _PRS_DMAREQ1_PRSSEL_PRSCH6 0x00000006UL
657 #define _PRS_DMAREQ1_PRSSEL_PRSCH7 0x00000007UL
658 #define _PRS_DMAREQ1_PRSSEL_PRSCH8 0x00000008UL
659 #define _PRS_DMAREQ1_PRSSEL_PRSCH9 0x00000009UL
660 #define _PRS_DMAREQ1_PRSSEL_PRSCH10 0x0000000AUL
661 #define _PRS_DMAREQ1_PRSSEL_PRSCH11 0x0000000BUL
662 #define PRS_DMAREQ1_PRSSEL_DEFAULT (_PRS_DMAREQ1_PRSSEL_DEFAULT << 6)
663 #define PRS_DMAREQ1_PRSSEL_PRSCH0 (_PRS_DMAREQ1_PRSSEL_PRSCH0 << 6)
664 #define PRS_DMAREQ1_PRSSEL_PRSCH1 (_PRS_DMAREQ1_PRSSEL_PRSCH1 << 6)
665 #define PRS_DMAREQ1_PRSSEL_PRSCH2 (_PRS_DMAREQ1_PRSSEL_PRSCH2 << 6)
666 #define PRS_DMAREQ1_PRSSEL_PRSCH3 (_PRS_DMAREQ1_PRSSEL_PRSCH3 << 6)
667 #define PRS_DMAREQ1_PRSSEL_PRSCH4 (_PRS_DMAREQ1_PRSSEL_PRSCH4 << 6)
668 #define PRS_DMAREQ1_PRSSEL_PRSCH5 (_PRS_DMAREQ1_PRSSEL_PRSCH5 << 6)
669 #define PRS_DMAREQ1_PRSSEL_PRSCH6 (_PRS_DMAREQ1_PRSSEL_PRSCH6 << 6)
670 #define PRS_DMAREQ1_PRSSEL_PRSCH7 (_PRS_DMAREQ1_PRSSEL_PRSCH7 << 6)
671 #define PRS_DMAREQ1_PRSSEL_PRSCH8 (_PRS_DMAREQ1_PRSSEL_PRSCH8 << 6)
672 #define PRS_DMAREQ1_PRSSEL_PRSCH9 (_PRS_DMAREQ1_PRSSEL_PRSCH9 << 6)
673 #define PRS_DMAREQ1_PRSSEL_PRSCH10 (_PRS_DMAREQ1_PRSSEL_PRSCH10 << 6)
674 #define PRS_DMAREQ1_PRSSEL_PRSCH11 (_PRS_DMAREQ1_PRSSEL_PRSCH11 << 6)
676 /* Bit fields for PRS PEEK */
677 #define _PRS_PEEK_RESETVALUE 0x00000000UL
678 #define _PRS_PEEK_MASK 0x00000FFFUL
679 #define PRS_PEEK_CH0VAL (0x1UL << 0)
680 #define _PRS_PEEK_CH0VAL_SHIFT 0
681 #define _PRS_PEEK_CH0VAL_MASK 0x1UL
682 #define _PRS_PEEK_CH0VAL_DEFAULT 0x00000000UL
683 #define PRS_PEEK_CH0VAL_DEFAULT (_PRS_PEEK_CH0VAL_DEFAULT << 0)
684 #define PRS_PEEK_CH1VAL (0x1UL << 1)
685 #define _PRS_PEEK_CH1VAL_SHIFT 1
686 #define _PRS_PEEK_CH1VAL_MASK 0x2UL
687 #define _PRS_PEEK_CH1VAL_DEFAULT 0x00000000UL
688 #define PRS_PEEK_CH1VAL_DEFAULT (_PRS_PEEK_CH1VAL_DEFAULT << 1)
689 #define PRS_PEEK_CH2VAL (0x1UL << 2)
690 #define _PRS_PEEK_CH2VAL_SHIFT 2
691 #define _PRS_PEEK_CH2VAL_MASK 0x4UL
692 #define _PRS_PEEK_CH2VAL_DEFAULT 0x00000000UL
693 #define PRS_PEEK_CH2VAL_DEFAULT (_PRS_PEEK_CH2VAL_DEFAULT << 2)
694 #define PRS_PEEK_CH3VAL (0x1UL << 3)
695 #define _PRS_PEEK_CH3VAL_SHIFT 3
696 #define _PRS_PEEK_CH3VAL_MASK 0x8UL
697 #define _PRS_PEEK_CH3VAL_DEFAULT 0x00000000UL
698 #define PRS_PEEK_CH3VAL_DEFAULT (_PRS_PEEK_CH3VAL_DEFAULT << 3)
699 #define PRS_PEEK_CH4VAL (0x1UL << 4)
700 #define _PRS_PEEK_CH4VAL_SHIFT 4
701 #define _PRS_PEEK_CH4VAL_MASK 0x10UL
702 #define _PRS_PEEK_CH4VAL_DEFAULT 0x00000000UL
703 #define PRS_PEEK_CH4VAL_DEFAULT (_PRS_PEEK_CH4VAL_DEFAULT << 4)
704 #define PRS_PEEK_CH5VAL (0x1UL << 5)
705 #define _PRS_PEEK_CH5VAL_SHIFT 5
706 #define _PRS_PEEK_CH5VAL_MASK 0x20UL
707 #define _PRS_PEEK_CH5VAL_DEFAULT 0x00000000UL
708 #define PRS_PEEK_CH5VAL_DEFAULT (_PRS_PEEK_CH5VAL_DEFAULT << 5)
709 #define PRS_PEEK_CH6VAL (0x1UL << 6)
710 #define _PRS_PEEK_CH6VAL_SHIFT 6
711 #define _PRS_PEEK_CH6VAL_MASK 0x40UL
712 #define _PRS_PEEK_CH6VAL_DEFAULT 0x00000000UL
713 #define PRS_PEEK_CH6VAL_DEFAULT (_PRS_PEEK_CH6VAL_DEFAULT << 6)
714 #define PRS_PEEK_CH7VAL (0x1UL << 7)
715 #define _PRS_PEEK_CH7VAL_SHIFT 7
716 #define _PRS_PEEK_CH7VAL_MASK 0x80UL
717 #define _PRS_PEEK_CH7VAL_DEFAULT 0x00000000UL
718 #define PRS_PEEK_CH7VAL_DEFAULT (_PRS_PEEK_CH7VAL_DEFAULT << 7)
719 #define PRS_PEEK_CH8VAL (0x1UL << 8)
720 #define _PRS_PEEK_CH8VAL_SHIFT 8
721 #define _PRS_PEEK_CH8VAL_MASK 0x100UL
722 #define _PRS_PEEK_CH8VAL_DEFAULT 0x00000000UL
723 #define PRS_PEEK_CH8VAL_DEFAULT (_PRS_PEEK_CH8VAL_DEFAULT << 8)
724 #define PRS_PEEK_CH9VAL (0x1UL << 9)
725 #define _PRS_PEEK_CH9VAL_SHIFT 9
726 #define _PRS_PEEK_CH9VAL_MASK 0x200UL
727 #define _PRS_PEEK_CH9VAL_DEFAULT 0x00000000UL
728 #define PRS_PEEK_CH9VAL_DEFAULT (_PRS_PEEK_CH9VAL_DEFAULT << 9)
729 #define PRS_PEEK_CH10VAL (0x1UL << 10)
730 #define _PRS_PEEK_CH10VAL_SHIFT 10
731 #define _PRS_PEEK_CH10VAL_MASK 0x400UL
732 #define _PRS_PEEK_CH10VAL_DEFAULT 0x00000000UL
733 #define PRS_PEEK_CH10VAL_DEFAULT (_PRS_PEEK_CH10VAL_DEFAULT << 10)
734 #define PRS_PEEK_CH11VAL (0x1UL << 11)
735 #define _PRS_PEEK_CH11VAL_SHIFT 11
736 #define _PRS_PEEK_CH11VAL_MASK 0x800UL
737 #define _PRS_PEEK_CH11VAL_DEFAULT 0x00000000UL
738 #define PRS_PEEK_CH11VAL_DEFAULT (_PRS_PEEK_CH11VAL_DEFAULT << 11)
740 /* Bit fields for PRS CH_CTRL */
741 #define _PRS_CH_CTRL_RESETVALUE 0x00000000UL
742 #define _PRS_CH_CTRL_MASK 0x5E307F07UL
743 #define _PRS_CH_CTRL_SIGSEL_SHIFT 0
744 #define _PRS_CH_CTRL_SIGSEL_MASK 0x7UL
745 #define _PRS_CH_CTRL_SIGSEL_PRSCH0 0x00000000UL
746 #define _PRS_CH_CTRL_SIGSEL_PRSCH8 0x00000000UL
747 #define _PRS_CH_CTRL_SIGSEL_ACMP0OUT 0x00000000UL
748 #define _PRS_CH_CTRL_SIGSEL_ACMP1OUT 0x00000000UL
749 #define _PRS_CH_CTRL_SIGSEL_ADC0SINGLE 0x00000000UL
750 #define _PRS_CH_CTRL_SIGSEL_USART0IRTX 0x00000000UL
751 #define _PRS_CH_CTRL_SIGSEL_TIMER0UF 0x00000000UL
752 #define _PRS_CH_CTRL_SIGSEL_TIMER1UF 0x00000000UL
753 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN0 0x00000000UL
754 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN8 0x00000000UL
755 #define _PRS_CH_CTRL_SIGSEL_LETIMER0CH0 0x00000000UL
756 #define _PRS_CH_CTRL_SIGSEL_PCNT0TCC 0x00000000UL
757 #define _PRS_CH_CTRL_SIGSEL_CRYOTIMERPERIOD 0x00000000UL
758 #define _PRS_CH_CTRL_SIGSEL_CMUCLKOUT0 0x00000000UL
759 #define _PRS_CH_CTRL_SIGSEL_CM4TXEV 0x00000000UL
760 #define _PRS_CH_CTRL_SIGSEL_PRSCH1 0x00000001UL
761 #define _PRS_CH_CTRL_SIGSEL_PRSCH9 0x00000001UL
762 #define _PRS_CH_CTRL_SIGSEL_ADC0SCAN 0x00000001UL
763 #define _PRS_CH_CTRL_SIGSEL_USART0TXC 0x00000001UL
764 #define _PRS_CH_CTRL_SIGSEL_USART1TXC 0x00000001UL
765 #define _PRS_CH_CTRL_SIGSEL_TIMER0OF 0x00000001UL
766 #define _PRS_CH_CTRL_SIGSEL_TIMER1OF 0x00000001UL
767 #define _PRS_CH_CTRL_SIGSEL_RTCCCCV0 0x00000001UL
768 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN1 0x00000001UL
769 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN9 0x00000001UL
770 #define _PRS_CH_CTRL_SIGSEL_LETIMER0CH1 0x00000001UL
771 #define _PRS_CH_CTRL_SIGSEL_PCNT0UFOF 0x00000001UL
772 #define _PRS_CH_CTRL_SIGSEL_CMUCLKOUT1 0x00000001UL
773 #define _PRS_CH_CTRL_SIGSEL_PRSCH2 0x00000002UL
774 #define _PRS_CH_CTRL_SIGSEL_PRSCH10 0x00000002UL
775 #define _PRS_CH_CTRL_SIGSEL_USART0RXDATAV 0x00000002UL
776 #define _PRS_CH_CTRL_SIGSEL_USART1RXDATAV 0x00000002UL
777 #define _PRS_CH_CTRL_SIGSEL_TIMER0CC0 0x00000002UL
778 #define _PRS_CH_CTRL_SIGSEL_TIMER1CC0 0x00000002UL
779 #define _PRS_CH_CTRL_SIGSEL_RTCCCCV1 0x00000002UL
780 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN2 0x00000002UL
781 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN10 0x00000002UL
782 #define _PRS_CH_CTRL_SIGSEL_PCNT0DIR 0x00000002UL
783 #define _PRS_CH_CTRL_SIGSEL_PRSCH3 0x00000003UL
784 #define _PRS_CH_CTRL_SIGSEL_PRSCH11 0x00000003UL
785 #define _PRS_CH_CTRL_SIGSEL_USART0RTS 0x00000003UL
786 #define _PRS_CH_CTRL_SIGSEL_USART1RTS 0x00000003UL
787 #define _PRS_CH_CTRL_SIGSEL_TIMER0CC1 0x00000003UL
788 #define _PRS_CH_CTRL_SIGSEL_TIMER1CC1 0x00000003UL
789 #define _PRS_CH_CTRL_SIGSEL_RTCCCCV2 0x00000003UL
790 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN3 0x00000003UL
791 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN11 0x00000003UL
792 #define _PRS_CH_CTRL_SIGSEL_PRSCH4 0x00000004UL
793 #define _PRS_CH_CTRL_SIGSEL_TIMER0CC2 0x00000004UL
794 #define _PRS_CH_CTRL_SIGSEL_TIMER1CC2 0x00000004UL
795 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN4 0x00000004UL
796 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN12 0x00000004UL
797 #define _PRS_CH_CTRL_SIGSEL_PRSCH5 0x00000005UL
798 #define _PRS_CH_CTRL_SIGSEL_USART0TX 0x00000005UL
799 #define _PRS_CH_CTRL_SIGSEL_USART1TX 0x00000005UL
800 #define _PRS_CH_CTRL_SIGSEL_TIMER1CC3 0x00000005UL
801 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN5 0x00000005UL
802 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN13 0x00000005UL
803 #define _PRS_CH_CTRL_SIGSEL_PRSCH6 0x00000006UL
804 #define _PRS_CH_CTRL_SIGSEL_USART0CS 0x00000006UL
805 #define _PRS_CH_CTRL_SIGSEL_USART1CS 0x00000006UL
806 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN6 0x00000006UL
807 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN14 0x00000006UL
808 #define _PRS_CH_CTRL_SIGSEL_PRSCH7 0x00000007UL
809 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN7 0x00000007UL
810 #define _PRS_CH_CTRL_SIGSEL_GPIOPIN15 0x00000007UL
811 #define PRS_CH_CTRL_SIGSEL_PRSCH0 (_PRS_CH_CTRL_SIGSEL_PRSCH0 << 0)
812 #define PRS_CH_CTRL_SIGSEL_PRSCH8 (_PRS_CH_CTRL_SIGSEL_PRSCH8 << 0)
813 #define PRS_CH_CTRL_SIGSEL_ACMP0OUT (_PRS_CH_CTRL_SIGSEL_ACMP0OUT << 0)
814 #define PRS_CH_CTRL_SIGSEL_ACMP1OUT (_PRS_CH_CTRL_SIGSEL_ACMP1OUT << 0)
815 #define PRS_CH_CTRL_SIGSEL_ADC0SINGLE (_PRS_CH_CTRL_SIGSEL_ADC0SINGLE << 0)
816 #define PRS_CH_CTRL_SIGSEL_USART0IRTX (_PRS_CH_CTRL_SIGSEL_USART0IRTX << 0)
817 #define PRS_CH_CTRL_SIGSEL_TIMER0UF (_PRS_CH_CTRL_SIGSEL_TIMER0UF << 0)
818 #define PRS_CH_CTRL_SIGSEL_TIMER1UF (_PRS_CH_CTRL_SIGSEL_TIMER1UF << 0)
819 #define PRS_CH_CTRL_SIGSEL_GPIOPIN0 (_PRS_CH_CTRL_SIGSEL_GPIOPIN0 << 0)
820 #define PRS_CH_CTRL_SIGSEL_GPIOPIN8 (_PRS_CH_CTRL_SIGSEL_GPIOPIN8 << 0)
821 #define PRS_CH_CTRL_SIGSEL_LETIMER0CH0 (_PRS_CH_CTRL_SIGSEL_LETIMER0CH0 << 0)
822 #define PRS_CH_CTRL_SIGSEL_PCNT0TCC (_PRS_CH_CTRL_SIGSEL_PCNT0TCC << 0)
823 #define PRS_CH_CTRL_SIGSEL_CRYOTIMERPERIOD (_PRS_CH_CTRL_SIGSEL_CRYOTIMERPERIOD << 0)
824 #define PRS_CH_CTRL_SIGSEL_CMUCLKOUT0 (_PRS_CH_CTRL_SIGSEL_CMUCLKOUT0 << 0)
825 #define PRS_CH_CTRL_SIGSEL_CM4TXEV (_PRS_CH_CTRL_SIGSEL_CM4TXEV << 0)
826 #define PRS_CH_CTRL_SIGSEL_PRSCH1 (_PRS_CH_CTRL_SIGSEL_PRSCH1 << 0)
827 #define PRS_CH_CTRL_SIGSEL_PRSCH9 (_PRS_CH_CTRL_SIGSEL_PRSCH9 << 0)
828 #define PRS_CH_CTRL_SIGSEL_ADC0SCAN (_PRS_CH_CTRL_SIGSEL_ADC0SCAN << 0)
829 #define PRS_CH_CTRL_SIGSEL_USART0TXC (_PRS_CH_CTRL_SIGSEL_USART0TXC << 0)
830 #define PRS_CH_CTRL_SIGSEL_USART1TXC (_PRS_CH_CTRL_SIGSEL_USART1TXC << 0)
831 #define PRS_CH_CTRL_SIGSEL_TIMER0OF (_PRS_CH_CTRL_SIGSEL_TIMER0OF << 0)
832 #define PRS_CH_CTRL_SIGSEL_TIMER1OF (_PRS_CH_CTRL_SIGSEL_TIMER1OF << 0)
833 #define PRS_CH_CTRL_SIGSEL_RTCCCCV0 (_PRS_CH_CTRL_SIGSEL_RTCCCCV0 << 0)
834 #define PRS_CH_CTRL_SIGSEL_GPIOPIN1 (_PRS_CH_CTRL_SIGSEL_GPIOPIN1 << 0)
835 #define PRS_CH_CTRL_SIGSEL_GPIOPIN9 (_PRS_CH_CTRL_SIGSEL_GPIOPIN9 << 0)
836 #define PRS_CH_CTRL_SIGSEL_LETIMER0CH1 (_PRS_CH_CTRL_SIGSEL_LETIMER0CH1 << 0)
837 #define PRS_CH_CTRL_SIGSEL_PCNT0UFOF (_PRS_CH_CTRL_SIGSEL_PCNT0UFOF << 0)
838 #define PRS_CH_CTRL_SIGSEL_CMUCLKOUT1 (_PRS_CH_CTRL_SIGSEL_CMUCLKOUT1 << 0)
839 #define PRS_CH_CTRL_SIGSEL_PRSCH2 (_PRS_CH_CTRL_SIGSEL_PRSCH2 << 0)
840 #define PRS_CH_CTRL_SIGSEL_PRSCH10 (_PRS_CH_CTRL_SIGSEL_PRSCH10 << 0)
841 #define PRS_CH_CTRL_SIGSEL_USART0RXDATAV (_PRS_CH_CTRL_SIGSEL_USART0RXDATAV << 0)
842 #define PRS_CH_CTRL_SIGSEL_USART1RXDATAV (_PRS_CH_CTRL_SIGSEL_USART1RXDATAV << 0)
843 #define PRS_CH_CTRL_SIGSEL_TIMER0CC0 (_PRS_CH_CTRL_SIGSEL_TIMER0CC0 << 0)
844 #define PRS_CH_CTRL_SIGSEL_TIMER1CC0 (_PRS_CH_CTRL_SIGSEL_TIMER1CC0 << 0)
845 #define PRS_CH_CTRL_SIGSEL_RTCCCCV1 (_PRS_CH_CTRL_SIGSEL_RTCCCCV1 << 0)
846 #define PRS_CH_CTRL_SIGSEL_GPIOPIN2 (_PRS_CH_CTRL_SIGSEL_GPIOPIN2 << 0)
847 #define PRS_CH_CTRL_SIGSEL_GPIOPIN10 (_PRS_CH_CTRL_SIGSEL_GPIOPIN10 << 0)
848 #define PRS_CH_CTRL_SIGSEL_PCNT0DIR (_PRS_CH_CTRL_SIGSEL_PCNT0DIR << 0)
849 #define PRS_CH_CTRL_SIGSEL_PRSCH3 (_PRS_CH_CTRL_SIGSEL_PRSCH3 << 0)
850 #define PRS_CH_CTRL_SIGSEL_PRSCH11 (_PRS_CH_CTRL_SIGSEL_PRSCH11 << 0)
851 #define PRS_CH_CTRL_SIGSEL_USART0RTS (_PRS_CH_CTRL_SIGSEL_USART0RTS << 0)
852 #define PRS_CH_CTRL_SIGSEL_USART1RTS (_PRS_CH_CTRL_SIGSEL_USART1RTS << 0)
853 #define PRS_CH_CTRL_SIGSEL_TIMER0CC1 (_PRS_CH_CTRL_SIGSEL_TIMER0CC1 << 0)
854 #define PRS_CH_CTRL_SIGSEL_TIMER1CC1 (_PRS_CH_CTRL_SIGSEL_TIMER1CC1 << 0)
855 #define PRS_CH_CTRL_SIGSEL_RTCCCCV2 (_PRS_CH_CTRL_SIGSEL_RTCCCCV2 << 0)
856 #define PRS_CH_CTRL_SIGSEL_GPIOPIN3 (_PRS_CH_CTRL_SIGSEL_GPIOPIN3 << 0)
857 #define PRS_CH_CTRL_SIGSEL_GPIOPIN11 (_PRS_CH_CTRL_SIGSEL_GPIOPIN11 << 0)
858 #define PRS_CH_CTRL_SIGSEL_PRSCH4 (_PRS_CH_CTRL_SIGSEL_PRSCH4 << 0)
859 #define PRS_CH_CTRL_SIGSEL_TIMER0CC2 (_PRS_CH_CTRL_SIGSEL_TIMER0CC2 << 0)
860 #define PRS_CH_CTRL_SIGSEL_TIMER1CC2 (_PRS_CH_CTRL_SIGSEL_TIMER1CC2 << 0)
861 #define PRS_CH_CTRL_SIGSEL_GPIOPIN4 (_PRS_CH_CTRL_SIGSEL_GPIOPIN4 << 0)
862 #define PRS_CH_CTRL_SIGSEL_GPIOPIN12 (_PRS_CH_CTRL_SIGSEL_GPIOPIN12 << 0)
863 #define PRS_CH_CTRL_SIGSEL_PRSCH5 (_PRS_CH_CTRL_SIGSEL_PRSCH5 << 0)
864 #define PRS_CH_CTRL_SIGSEL_USART0TX (_PRS_CH_CTRL_SIGSEL_USART0TX << 0)
865 #define PRS_CH_CTRL_SIGSEL_USART1TX (_PRS_CH_CTRL_SIGSEL_USART1TX << 0)
866 #define PRS_CH_CTRL_SIGSEL_TIMER1CC3 (_PRS_CH_CTRL_SIGSEL_TIMER1CC3 << 0)
867 #define PRS_CH_CTRL_SIGSEL_GPIOPIN5 (_PRS_CH_CTRL_SIGSEL_GPIOPIN5 << 0)
868 #define PRS_CH_CTRL_SIGSEL_GPIOPIN13 (_PRS_CH_CTRL_SIGSEL_GPIOPIN13 << 0)
869 #define PRS_CH_CTRL_SIGSEL_PRSCH6 (_PRS_CH_CTRL_SIGSEL_PRSCH6 << 0)
870 #define PRS_CH_CTRL_SIGSEL_USART0CS (_PRS_CH_CTRL_SIGSEL_USART0CS << 0)
871 #define PRS_CH_CTRL_SIGSEL_USART1CS (_PRS_CH_CTRL_SIGSEL_USART1CS << 0)
872 #define PRS_CH_CTRL_SIGSEL_GPIOPIN6 (_PRS_CH_CTRL_SIGSEL_GPIOPIN6 << 0)
873 #define PRS_CH_CTRL_SIGSEL_GPIOPIN14 (_PRS_CH_CTRL_SIGSEL_GPIOPIN14 << 0)
874 #define PRS_CH_CTRL_SIGSEL_PRSCH7 (_PRS_CH_CTRL_SIGSEL_PRSCH7 << 0)
875 #define PRS_CH_CTRL_SIGSEL_GPIOPIN7 (_PRS_CH_CTRL_SIGSEL_GPIOPIN7 << 0)
876 #define PRS_CH_CTRL_SIGSEL_GPIOPIN15 (_PRS_CH_CTRL_SIGSEL_GPIOPIN15 << 0)
877 #define _PRS_CH_CTRL_SOURCESEL_SHIFT 8
878 #define _PRS_CH_CTRL_SOURCESEL_MASK 0x7F00UL
879 #define _PRS_CH_CTRL_SOURCESEL_NONE 0x00000000UL
880 #define _PRS_CH_CTRL_SOURCESEL_PRSL 0x00000001UL
881 #define _PRS_CH_CTRL_SOURCESEL_PRSH 0x00000002UL
882 #define _PRS_CH_CTRL_SOURCESEL_ACMP0 0x00000006UL
883 #define _PRS_CH_CTRL_SOURCESEL_ACMP1 0x00000007UL
884 #define _PRS_CH_CTRL_SOURCESEL_ADC0 0x00000008UL
885 #define _PRS_CH_CTRL_SOURCESEL_USART0 0x00000010UL
886 #define _PRS_CH_CTRL_SOURCESEL_USART1 0x00000011UL
887 #define _PRS_CH_CTRL_SOURCESEL_TIMER0 0x0000001CUL
888 #define _PRS_CH_CTRL_SOURCESEL_TIMER1 0x0000001DUL
889 #define _PRS_CH_CTRL_SOURCESEL_RTCC 0x00000029UL
890 #define _PRS_CH_CTRL_SOURCESEL_GPIOL 0x00000030UL
891 #define _PRS_CH_CTRL_SOURCESEL_GPIOH 0x00000031UL
892 #define _PRS_CH_CTRL_SOURCESEL_LETIMER0 0x00000034UL
893 #define _PRS_CH_CTRL_SOURCESEL_PCNT0 0x00000036UL
894 #define _PRS_CH_CTRL_SOURCESEL_CRYOTIMER 0x0000003CUL
895 #define _PRS_CH_CTRL_SOURCESEL_CMU 0x0000003DUL
896 #define _PRS_CH_CTRL_SOURCESEL_CM4 0x00000043UL
897 #define PRS_CH_CTRL_SOURCESEL_NONE (_PRS_CH_CTRL_SOURCESEL_NONE << 8)
898 #define PRS_CH_CTRL_SOURCESEL_PRSL (_PRS_CH_CTRL_SOURCESEL_PRSL << 8)
899 #define PRS_CH_CTRL_SOURCESEL_PRSH (_PRS_CH_CTRL_SOURCESEL_PRSH << 8)
900 #define PRS_CH_CTRL_SOURCESEL_ACMP0 (_PRS_CH_CTRL_SOURCESEL_ACMP0 << 8)
901 #define PRS_CH_CTRL_SOURCESEL_ACMP1 (_PRS_CH_CTRL_SOURCESEL_ACMP1 << 8)
902 #define PRS_CH_CTRL_SOURCESEL_ADC0 (_PRS_CH_CTRL_SOURCESEL_ADC0 << 8)
903 #define PRS_CH_CTRL_SOURCESEL_USART0 (_PRS_CH_CTRL_SOURCESEL_USART0 << 8)
904 #define PRS_CH_CTRL_SOURCESEL_USART1 (_PRS_CH_CTRL_SOURCESEL_USART1 << 8)
905 #define PRS_CH_CTRL_SOURCESEL_TIMER0 (_PRS_CH_CTRL_SOURCESEL_TIMER0 << 8)
906 #define PRS_CH_CTRL_SOURCESEL_TIMER1 (_PRS_CH_CTRL_SOURCESEL_TIMER1 << 8)
907 #define PRS_CH_CTRL_SOURCESEL_RTCC (_PRS_CH_CTRL_SOURCESEL_RTCC << 8)
908 #define PRS_CH_CTRL_SOURCESEL_GPIOL (_PRS_CH_CTRL_SOURCESEL_GPIOL << 8)
909 #define PRS_CH_CTRL_SOURCESEL_GPIOH (_PRS_CH_CTRL_SOURCESEL_GPIOH << 8)
910 #define PRS_CH_CTRL_SOURCESEL_LETIMER0 (_PRS_CH_CTRL_SOURCESEL_LETIMER0 << 8)
911 #define PRS_CH_CTRL_SOURCESEL_PCNT0 (_PRS_CH_CTRL_SOURCESEL_PCNT0 << 8)
912 #define PRS_CH_CTRL_SOURCESEL_CRYOTIMER (_PRS_CH_CTRL_SOURCESEL_CRYOTIMER << 8)
913 #define PRS_CH_CTRL_SOURCESEL_CMU (_PRS_CH_CTRL_SOURCESEL_CMU << 8)
914 #define PRS_CH_CTRL_SOURCESEL_CM4 (_PRS_CH_CTRL_SOURCESEL_CM4 << 8)
915 #define _PRS_CH_CTRL_EDSEL_SHIFT 20
916 #define _PRS_CH_CTRL_EDSEL_MASK 0x300000UL
917 #define _PRS_CH_CTRL_EDSEL_DEFAULT 0x00000000UL
918 #define _PRS_CH_CTRL_EDSEL_OFF 0x00000000UL
919 #define _PRS_CH_CTRL_EDSEL_POSEDGE 0x00000001UL
920 #define _PRS_CH_CTRL_EDSEL_NEGEDGE 0x00000002UL
921 #define _PRS_CH_CTRL_EDSEL_BOTHEDGES 0x00000003UL
922 #define PRS_CH_CTRL_EDSEL_DEFAULT (_PRS_CH_CTRL_EDSEL_DEFAULT << 20)
923 #define PRS_CH_CTRL_EDSEL_OFF (_PRS_CH_CTRL_EDSEL_OFF << 20)
924 #define PRS_CH_CTRL_EDSEL_POSEDGE (_PRS_CH_CTRL_EDSEL_POSEDGE << 20)
925 #define PRS_CH_CTRL_EDSEL_NEGEDGE (_PRS_CH_CTRL_EDSEL_NEGEDGE << 20)
926 #define PRS_CH_CTRL_EDSEL_BOTHEDGES (_PRS_CH_CTRL_EDSEL_BOTHEDGES << 20)
927 #define PRS_CH_CTRL_STRETCH (0x1UL << 25)
928 #define _PRS_CH_CTRL_STRETCH_SHIFT 25
929 #define _PRS_CH_CTRL_STRETCH_MASK 0x2000000UL
930 #define _PRS_CH_CTRL_STRETCH_DEFAULT 0x00000000UL
931 #define PRS_CH_CTRL_STRETCH_DEFAULT (_PRS_CH_CTRL_STRETCH_DEFAULT << 25)
932 #define PRS_CH_CTRL_INV (0x1UL << 26)
933 #define _PRS_CH_CTRL_INV_SHIFT 26
934 #define _PRS_CH_CTRL_INV_MASK 0x4000000UL
935 #define _PRS_CH_CTRL_INV_DEFAULT 0x00000000UL
936 #define PRS_CH_CTRL_INV_DEFAULT (_PRS_CH_CTRL_INV_DEFAULT << 26)
937 #define PRS_CH_CTRL_ORPREV (0x1UL << 27)
938 #define _PRS_CH_CTRL_ORPREV_SHIFT 27
939 #define _PRS_CH_CTRL_ORPREV_MASK 0x8000000UL
940 #define _PRS_CH_CTRL_ORPREV_DEFAULT 0x00000000UL
941 #define PRS_CH_CTRL_ORPREV_DEFAULT (_PRS_CH_CTRL_ORPREV_DEFAULT << 27)
942 #define PRS_CH_CTRL_ANDNEXT (0x1UL << 28)
943 #define _PRS_CH_CTRL_ANDNEXT_SHIFT 28
944 #define _PRS_CH_CTRL_ANDNEXT_MASK 0x10000000UL
945 #define _PRS_CH_CTRL_ANDNEXT_DEFAULT 0x00000000UL
946 #define PRS_CH_CTRL_ANDNEXT_DEFAULT (_PRS_CH_CTRL_ANDNEXT_DEFAULT << 28)
947 #define PRS_CH_CTRL_ASYNC (0x1UL << 30)
948 #define _PRS_CH_CTRL_ASYNC_SHIFT 30
949 #define _PRS_CH_CTRL_ASYNC_MASK 0x40000000UL
950 #define _PRS_CH_CTRL_ASYNC_DEFAULT 0x00000000UL
951 #define PRS_CH_CTRL_ASYNC_DEFAULT (_PRS_CH_CTRL_ASYNC_DEFAULT << 30)
__IOM uint32_t ROUTELOC0
Definition: efr32bg1p_prs.h:47
__IOM uint32_t CTRL
Definition: efr32bg1p_prs.h:52
__IOM uint32_t ROUTEPEN
Definition: efr32bg1p_prs.h:45
__IOM uint32_t DMAREQ0
Definition: efr32bg1p_prs.h:53
PRS_CH EFR32BG1P PRS CH.
__IOM uint32_t SWLEVEL
Definition: efr32bg1p_prs.h:44
__IOM uint32_t DMAREQ1
Definition: efr32bg1p_prs.h:54
__IOM uint32_t ROUTELOC2
Definition: efr32bg1p_prs.h:49
__IOM uint32_t SWPULSE
Definition: efr32bg1p_prs.h:43
__IOM uint32_t ROUTELOC1
Definition: efr32bg1p_prs.h:48
__IM uint32_t PEEK
Definition: efr32bg1p_prs.h:56