libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
rgu.h
Go to the documentation of this file.
1/** @defgroup rgu_defines Reset Generation Unit Defines
2
3@brief <b>Defined Constants and Types for the LPC43xx Reset Generation Unit</b>
4
5@ingroup LPC43xx_defines
6
7@version 1.0.0
8
9@author @htmlonly &copy; @endhtmlonly 2012 Michael Ossmann <mike@ossmann.com>
10
11@date 10 March 2013
12
13LGPL License Terms @ref lgpl_license
14 */
15/*
16 * This file is part of the libopencm3 project.
17 *
18 * Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
19 *
20 * This library is free software: you can redistribute it and/or modify
21 * it under the terms of the GNU Lesser General Public License as published by
22 * the Free Software Foundation, either version 3 of the License, or
23 * (at your option) any later version.
24 *
25 * This library is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public License
31 * along with this library. If not, see <http://www.gnu.org/licenses/>.
32 */
33
34#ifndef LPC43XX_RGU_H
35#define LPC43XX_RGU_H
36
37/**@{*/
38
41
42/* --- RGU registers ------------------------------------------------------- */
43
44/* Reset control register 0 */
45#define RESET_CTRL0 MMIO32(RGU_BASE + 0x100)
46
47/* Reset control register 1 */
48#define RESET_CTRL1 MMIO32(RGU_BASE + 0x104)
49
50/* Reset status register 0 */
51#define RESET_STATUS0 MMIO32(RGU_BASE + 0x110)
52
53/* Reset status register 1 */
54#define RESET_STATUS1 MMIO32(RGU_BASE + 0x114)
55
56/* Reset status register 2 */
57#define RESET_STATUS2 MMIO32(RGU_BASE + 0x118)
58
59/* Reset status register 3 */
60#define RESET_STATUS3 MMIO32(RGU_BASE + 0x11C)
61
62/* Reset active status register 0 */
63#define RESET_ACTIVE_STATUS0 MMIO32(RGU_BASE + 0x150)
64
65/* Reset active status register 1 */
66#define RESET_ACTIVE_STATUS1 MMIO32(RGU_BASE + 0x154)
67
68/* Reset external status register 0 for CORE_RST */
69#define RESET_EXT_STAT0 MMIO32(RGU_BASE + 0x400)
70
71/* Reset external status register 1 for PERIPH_RST */
72#define RESET_EXT_STAT1 MMIO32(RGU_BASE + 0x404)
73
74/* Reset external status register 2 for MASTER_RST */
75#define RESET_EXT_STAT2 MMIO32(RGU_BASE + 0x408)
76
77/* Reserved */
78#define RESET_EXT_STAT3 MMIO32(RGU_BASE + 0x40C)
79
80/* Reset external status register 4 for WWDT_RST */
81#define RESET_EXT_STAT4 MMIO32(RGU_BASE + 0x410)
82
83/* Reset external status register 5 for CREG_RST */
84#define RESET_EXT_STAT5 MMIO32(RGU_BASE + 0x414)
85
86/* Reserved */
87#define RESET_EXT_STAT6 MMIO32(RGU_BASE + 0x418)
88
89/* Reserved */
90#define RESET_EXT_STAT7 MMIO32(RGU_BASE + 0x41C)
91
92/* Reset external status register 8 for BUS_RST */
93#define RESET_EXT_STAT8 MMIO32(RGU_BASE + 0x420)
94
95/* Reset external status register 9 for SCU_RST */
96#define RESET_EXT_STAT9 MMIO32(RGU_BASE + 0x424)
97
98/* Reserved */
99#define RESET_EXT_STAT10 MMIO32(RGU_BASE + 0x428)
100
101/* Reserved */
102#define RESET_EXT_STAT11 MMIO32(RGU_BASE + 0x42C)
103
104/* Reserved */
105#define RESET_EXT_STAT12 MMIO32(RGU_BASE + 0x430)
106
107/* Reset external status register 13 for M4_RST */
108#define RESET_EXT_STAT13 MMIO32(RGU_BASE + 0x434)
109
110/* Reserved */
111#define RESET_EXT_STAT14 MMIO32(RGU_BASE + 0x438)
112
113/* Reserved */
114#define RESET_EXT_STAT15 MMIO32(RGU_BASE + 0x43C)
115
116/* Reset external status register 16 for LCD_RST */
117#define RESET_EXT_STAT16 MMIO32(RGU_BASE + 0x440)
118
119/* Reset external status register 17 for USB0_RST */
120#define RESET_EXT_STAT17 MMIO32(RGU_BASE + 0x444)
121
122/* Reset external status register 18 for USB1_RST */
123#define RESET_EXT_STAT18 MMIO32(RGU_BASE + 0x448)
124
125/* Reset external status register 19 for DMA_RST */
126#define RESET_EXT_STAT19 MMIO32(RGU_BASE + 0x44C)
127
128/* Reset external status register 20 for SDIO_RST */
129#define RESET_EXT_STAT20 MMIO32(RGU_BASE + 0x450)
130
131/* Reset external status register 21 for EMC_RST */
132#define RESET_EXT_STAT21 MMIO32(RGU_BASE + 0x454)
133
134/* Reset external status register 22 for ETHERNET_RST */
135#define RESET_EXT_STAT22 MMIO32(RGU_BASE + 0x458)
136
137/* Reserved */
138#define RESET_EXT_STAT23 MMIO32(RGU_BASE + 0x45C)
139
140/* Reserved */
141#define RESET_EXT_STAT24 MMIO32(RGU_BASE + 0x460)
142
143/* Reserved */
144#define RESET_EXT_STAT25 MMIO32(RGU_BASE + 0x464)
145
146/* Reserved */
147#define RESET_EXT_STAT26 MMIO32(RGU_BASE + 0x468)
148
149/* Reserved */
150#define RESET_EXT_STAT27 MMIO32(RGU_BASE + 0x46C)
151
152/* Reset external status register 28 for GPIO_RST */
153#define RESET_EXT_STAT28 MMIO32(RGU_BASE + 0x470)
154
155/* Reserved */
156#define RESET_EXT_STAT29 MMIO32(RGU_BASE + 0x474)
157
158/* Reserved */
159#define RESET_EXT_STAT30 MMIO32(RGU_BASE + 0x478)
160
161/* Reserved */
162#define RESET_EXT_STAT31 MMIO32(RGU_BASE + 0x47C)
163
164/* Reset external status register 32 for TIMER0_RST */
165#define RESET_EXT_STAT32 MMIO32(RGU_BASE + 0x480)
166
167/* Reset external status register 33 for TIMER1_RST */
168#define RESET_EXT_STAT33 MMIO32(RGU_BASE + 0x484)
169
170/* Reset external status register 34 for TIMER2_RST */
171#define RESET_EXT_STAT34 MMIO32(RGU_BASE + 0x488)
172
173/* Reset external status register 35 for TIMER3_RST */
174#define RESET_EXT_STAT35 MMIO32(RGU_BASE + 0x48C)
175
176/* Reset external status register 36 for RITIMER_RST */
177#define RESET_EXT_STAT36 MMIO32(RGU_BASE + 0x490)
178
179/* Reset external status register 37 for SCT_RST */
180#define RESET_EXT_STAT37 MMIO32(RGU_BASE + 0x494)
181
182/* Reset external status register 38 for MOTOCONPWM_RST */
183#define RESET_EXT_STAT38 MMIO32(RGU_BASE + 0x498)
184
185/* Reset external status register 39 for QEI_RST */
186#define RESET_EXT_STAT39 MMIO32(RGU_BASE + 0x49C)
187
188/* Reset external status register 40 for ADC0_RST */
189#define RESET_EXT_STAT40 MMIO32(RGU_BASE + 0x4A0)
190
191/* Reset external status register 41 for ADC1_RST */
192#define RESET_EXT_STAT41 MMIO32(RGU_BASE + 0x4A4)
193
194/* Reset external status register 42 for DAC_RST */
195#define RESET_EXT_STAT42 MMIO32(RGU_BASE + 0x4A8)
196
197/* Reserved */
198#define RESET_EXT_STAT43 MMIO32(RGU_BASE + 0x4AC)
199
200/* Reset external status register 44 for UART0_RST */
201#define RESET_EXT_STAT44 MMIO32(RGU_BASE + 0x4B0)
202
203/* Reset external status register 45 for UART1_RST */
204#define RESET_EXT_STAT45 MMIO32(RGU_BASE + 0x4B4)
205
206/* Reset external status register 46 for UART2_RST */
207#define RESET_EXT_STAT46 MMIO32(RGU_BASE + 0x4B8)
208
209/* Reset external status register 47 for UART3_RST */
210#define RESET_EXT_STAT47 MMIO32(RGU_BASE + 0x4BC)
211
212/* Reset external status register 48 for I2C0_RST */
213#define RESET_EXT_STAT48 MMIO32(RGU_BASE + 0x4C0)
214
215/* Reset external status register 49 for I2C1_RST */
216#define RESET_EXT_STAT49 MMIO32(RGU_BASE + 0x4C4)
217
218/* Reset external status register 50 for SSP0_RST */
219#define RESET_EXT_STAT50 MMIO32(RGU_BASE + 0x4C8)
220
221/* Reset external status register 51 for SSP1_RST */
222#define RESET_EXT_STAT51 MMIO32(RGU_BASE + 0x4CC)
223
224/* Reset external status register 52 for I2S_RST */
225#define RESET_EXT_STAT52 MMIO32(RGU_BASE + 0x4D0)
226
227/* Reset external status register 53 for SPIFI_RST */
228#define RESET_EXT_STAT53 MMIO32(RGU_BASE + 0x4D4)
229
230/* Reset external status register 54 for CAN1_RST */
231#define RESET_EXT_STAT54 MMIO32(RGU_BASE + 0x4D8)
232
233/* Reset external status register 55 for CAN0_RST */
234#define RESET_EXT_STAT55 MMIO32(RGU_BASE + 0x4DC)
235
236/* Reset external status register 56 for M0APP_RST */
237#define RESET_EXT_STAT56 MMIO32(RGU_BASE + 0x4E0)
238
239/* Reset external status register 57 for SGPIO_RST */
240#define RESET_EXT_STAT57 MMIO32(RGU_BASE + 0x4E4)
241
242/* Reset external status register 58 for SPI_RST */
243#define RESET_EXT_STAT58 MMIO32(RGU_BASE + 0x4E8)
244
245/* Reserved */
246#define RESET_EXT_STAT59 MMIO32(RGU_BASE + 0x4EC)
247
248/* Reserved */
249#define RESET_EXT_STAT60 MMIO32(RGU_BASE + 0x4F0)
250
251/* Reserved */
252#define RESET_EXT_STAT61 MMIO32(RGU_BASE + 0x4F4)
253
254/* Reserved */
255#define RESET_EXT_STAT62 MMIO32(RGU_BASE + 0x4F8)
256
257/* Reserved */
258#define RESET_EXT_STAT63 MMIO32(RGU_BASE + 0x4FC)
259
260/* --- RESET_CTRL0 values --------------------------------------- */
261
262/* CORE_RST: Writing a one activates the reset */
263#define RESET_CTRL0_CORE_RST_SHIFT (0)
264#define RESET_CTRL0_CORE_RST (1 << RESET_CTRL0_CORE_RST_SHIFT)
265
266/* PERIPH_RST: Writing a one activates the reset */
267#define RESET_CTRL0_PERIPH_RST_SHIFT (1)
268#define RESET_CTRL0_PERIPH_RST (1 << RESET_CTRL0_PERIPH_RST_SHIFT)
269
270/* MASTER_RST: Writing a one activates the reset */
271#define RESET_CTRL0_MASTER_RST_SHIFT (2)
272#define RESET_CTRL0_MASTER_RST (1 << RESET_CTRL0_MASTER_RST_SHIFT)
273
274/* WWDT_RST: Writing a one to this bit has no effect */
275#define RESET_CTRL0_WWDT_RST_SHIFT (4)
276#define RESET_CTRL0_WWDT_RST (1 << RESET_CTRL0_WWDT_RST_SHIFT)
277
278/* CREG_RST: Writing a one to this bit has no effect */
279#define RESET_CTRL0_CREG_RST_SHIFT (5)
280#define RESET_CTRL0_CREG_RST (1 << RESET_CTRL0_CREG_RST_SHIFT)
281
282/* BUS_RST: Writing a one activates the reset */
283#define RESET_CTRL0_BUS_RST_SHIFT (8)
284#define RESET_CTRL0_BUS_RST (1 << RESET_CTRL0_BUS_RST_SHIFT)
285
286/* SCU_RST: Writing a one activates the reset */
287#define RESET_CTRL0_SCU_RST_SHIFT (9)
288#define RESET_CTRL0_SCU_RST (1 << RESET_CTRL0_SCU_RST_SHIFT)
289
290/* M4_RST: Writing a one activates the reset */
291#define RESET_CTRL0_M4_RST_SHIFT (13)
292#define RESET_CTRL0_M4_RST (1 << RESET_CTRL0_M4_RST_SHIFT)
293
294/* LCD_RST: Writing a one activates the reset */
295#define RESET_CTRL0_LCD_RST_SHIFT (16)
296#define RESET_CTRL0_LCD_RST (1 << RESET_CTRL0_LCD_RST_SHIFT)
297
298/* USB0_RST: Writing a one activates the reset */
299#define RESET_CTRL0_USB0_RST_SHIFT (17)
300#define RESET_CTRL0_USB0_RST (1 << RESET_CTRL0_USB0_RST_SHIFT)
301
302/* USB1_RST: Writing a one activates the reset */
303#define RESET_CTRL0_USB1_RST_SHIFT (18)
304#define RESET_CTRL0_USB1_RST (1 << RESET_CTRL0_USB1_RST_SHIFT)
305
306/* DMA_RST: Writing a one activates the reset */
307#define RESET_CTRL0_DMA_RST_SHIFT (19)
308#define RESET_CTRL0_DMA_RST (1 << RESET_CTRL0_DMA_RST_SHIFT)
309
310/* SDIO_RST: Writing a one activates the reset */
311#define RESET_CTRL0_SDIO_RST_SHIFT (20)
312#define RESET_CTRL0_SDIO_RST (1 << RESET_CTRL0_SDIO_RST_SHIFT)
313
314/* EMC_RST: Writing a one activates the reset */
315#define RESET_CTRL0_EMC_RST_SHIFT (21)
316#define RESET_CTRL0_EMC_RST (1 << RESET_CTRL0_EMC_RST_SHIFT)
317
318/* ETHERNET_RST: Writing a one activates the reset */
319#define RESET_CTRL0_ETHERNET_RST_SHIFT (22)
320#define RESET_CTRL0_ETHERNET_RST (1 << RESET_CTRL0_ETHERNET_RST_SHIFT)
321
322/* FLASHA_RST: Writing a one activates the reset */
323#define RESET_CTRL0_FLASHA_RST_SHIFT (25)
324#define RESET_CTRL0_FLASHA_RST (1 << RESET_CTRL0_FLASHA_RST_SHIFT)
325
326/* EEPROM_RST: Writing a one activates the reset */
327#define RESET_CTRL0_EEPROM_RST_SHIFT (27)
328#define RESET_CTRL0_EEPROM_RST (1 << RESET_CTRL0_EEPROM_RST_SHIFT)
329
330/* GPIO_RST: Writing a one activates the reset */
331#define RESET_CTRL0_GPIO_RST_SHIFT (28)
332#define RESET_CTRL0_GPIO_RST (1 << RESET_CTRL0_GPIO_RST_SHIFT)
333
334/* FLASHB_RST: Writing a one activates the reset */
335#define RESET_CTRL0_FLASHB_RST_SHIFT (29)
336#define RESET_CTRL0_FLASHB_RST (1 << RESET_CTRL0_FLASHB_RST_SHIFT)
337
338/* --- RESET_CTRL1 values --------------------------------------- */
339
340/* TIMER0_RST: Writing a one activates the reset */
341#define RESET_CTRL1_TIMER0_RST_SHIFT (0)
342#define RESET_CTRL1_TIMER0_RST (1 << RESET_CTRL1_TIMER0_RST_SHIFT)
343
344/* TIMER1_RST: Writing a one activates the reset */
345#define RESET_CTRL1_TIMER1_RST_SHIFT (1)
346#define RESET_CTRL1_TIMER1_RST (1 << RESET_CTRL1_TIMER1_RST_SHIFT)
347
348/* TIMER2_RST: Writing a one activates the reset */
349#define RESET_CTRL1_TIMER2_RST_SHIFT (2)
350#define RESET_CTRL1_TIMER2_RST (1 << RESET_CTRL1_TIMER2_RST_SHIFT)
351
352/* TIMER3_RST: Writing a one activates the reset */
353#define RESET_CTRL1_TIMER3_RST_SHIFT (3)
354#define RESET_CTRL1_TIMER3_RST (1 << RESET_CTRL1_TIMER3_RST_SHIFT)
355
356/* RTIMER_RST: Writing a one activates the reset */
357#define RESET_CTRL1_RTIMER_RST_SHIFT (4)
358#define RESET_CTRL1_RTIMER_RST (1 << RESET_CTRL1_RTIMER_RST_SHIFT)
359
360/* SCT_RST: Writing a one activates the reset */
361#define RESET_CTRL1_SCT_RST_SHIFT (5)
362#define RESET_CTRL1_SCT_RST (1 << RESET_CTRL1_SCT_RST_SHIFT)
363
364/* MOTOCONPWM_RST: Writing a one activates the reset */
365#define RESET_CTRL1_MOTOCONPWM_RST_SHIFT (6)
366#define RESET_CTRL1_MOTOCONPWM_RST (1 << RESET_CTRL1_MOTOCONPWM_RST_SHIFT)
367
368/* QEI_RST: Writing a one activates the reset */
369#define RESET_CTRL1_QEI_RST_SHIFT (7)
370#define RESET_CTRL1_QEI_RST (1 << RESET_CTRL1_QEI_RST_SHIFT)
371
372/* ADC0_RST: Writing a one activates the reset */
373#define RESET_CTRL1_ADC0_RST_SHIFT (8)
374#define RESET_CTRL1_ADC0_RST (1 << RESET_CTRL1_ADC0_RST_SHIFT)
375
376/* ADC1_RST: Writing a one activates the reset */
377#define RESET_CTRL1_ADC1_RST_SHIFT (9)
378#define RESET_CTRL1_ADC1_RST (1 << RESET_CTRL1_ADC1_RST_SHIFT)
379
380/* DAC_RST: Writing a one activates the reset */
381#define RESET_CTRL1_DAC_RST_SHIFT (10)
382#define RESET_CTRL1_DAC_RST (1 << RESET_CTRL1_DAC_RST_SHIFT)
383
384/* UART0_RST: Writing a one activates the reset */
385#define RESET_CTRL1_UART0_RST_SHIFT (12)
386#define RESET_CTRL1_UART0_RST (1 << RESET_CTRL1_UART0_RST_SHIFT)
387
388/* UART1_RST: Writing a one activates the reset */
389#define RESET_CTRL1_UART1_RST_SHIFT (13)
390#define RESET_CTRL1_UART1_RST (1 << RESET_CTRL1_UART1_RST_SHIFT)
391
392/* UART2_RST: Writing a one activates the reset */
393#define RESET_CTRL1_UART2_RST_SHIFT (14)
394#define RESET_CTRL1_UART2_RST (1 << RESET_CTRL1_UART2_RST_SHIFT)
395
396/* UART3_RST: Writing a one activates the reset */
397#define RESET_CTRL1_UART3_RST_SHIFT (15)
398#define RESET_CTRL1_UART3_RST (1 << RESET_CTRL1_UART3_RST_SHIFT)
399
400/* I2C0_RST: Writing a one activates the reset */
401#define RESET_CTRL1_I2C0_RST_SHIFT (16)
402#define RESET_CTRL1_I2C0_RST (1 << RESET_CTRL1_I2C0_RST_SHIFT)
403
404/* I2C1_RST: Writing a one activates the reset */
405#define RESET_CTRL1_I2C1_RST_SHIFT (17)
406#define RESET_CTRL1_I2C1_RST (1 << RESET_CTRL1_I2C1_RST_SHIFT)
407
408/* SSP0_RST: Writing a one activates the reset */
409#define RESET_CTRL1_SSP0_RST_SHIFT (18)
410#define RESET_CTRL1_SSP0_RST (1 << RESET_CTRL1_SSP0_RST_SHIFT)
411
412/* SSP1_RST: Writing a one activates the reset */
413#define RESET_CTRL1_SSP1_RST_SHIFT (19)
414#define RESET_CTRL1_SSP1_RST (1 << RESET_CTRL1_SSP1_RST_SHIFT)
415
416/* I2S_RST: Writing a one activates the reset */
417#define RESET_CTRL1_I2S_RST_SHIFT (20)
418#define RESET_CTRL1_I2S_RST (1 << RESET_CTRL1_I2S_RST_SHIFT)
419
420/* SPIFI_RST: Writing a one activates the reset */
421#define RESET_CTRL1_SPIFI_RST_SHIFT (21)
422#define RESET_CTRL1_SPIFI_RST (1 << RESET_CTRL1_SPIFI_RST_SHIFT)
423
424/* CAN1_RST: Writing a one activates the reset */
425#define RESET_CTRL1_CAN1_RST_SHIFT (22)
426#define RESET_CTRL1_CAN1_RST (1 << RESET_CTRL1_CAN1_RST_SHIFT)
427
428/* CAN0_RST: Writing a one activates the reset */
429#define RESET_CTRL1_CAN0_RST_SHIFT (23)
430#define RESET_CTRL1_CAN0_RST (1 << RESET_CTRL1_CAN0_RST_SHIFT)
431
432/* M0APP_RST: Writing a one activates the reset */
433#define RESET_CTRL1_M0APP_RST_SHIFT (24)
434#define RESET_CTRL1_M0APP_RST (1 << RESET_CTRL1_M0APP_RST_SHIFT)
435
436/* SGPIO_RST: Writing a one activates the reset */
437#define RESET_CTRL1_SGPIO_RST_SHIFT (25)
438#define RESET_CTRL1_SGPIO_RST (1 << RESET_CTRL1_SGPIO_RST_SHIFT)
439
440/* SPI_RST: Writing a one activates the reset */
441#define RESET_CTRL1_SPI_RST_SHIFT (26)
442#define RESET_CTRL1_SPI_RST (1 << RESET_CTRL1_SPI_RST_SHIFT)
443
444/* --- RESET_STATUS0 values ------------------------------------- */
445
446/* CORE_RST: Status of the CORE_RST reset generator output */
447#define RESET_STATUS0_CORE_RST_SHIFT (0)
448#define RESET_STATUS0_CORE_RST_MASK (0x3 << RESET_STATUS0_CORE_RST_SHIFT)
449#define RESET_STATUS0_CORE_RST(x) ((x) << RESET_STATUS0_CORE_RST_SHIFT)
450
451/* PERIPH_RST: Status of the PERIPH_RST reset generator output */
452#define RESET_STATUS0_PERIPH_RST_SHIFT (2)
453#define RESET_STATUS0_PERIPH_RST_MASK (0x3 << RESET_STATUS0_PERIPH_RST_SHIFT)
454#define RESET_STATUS0_PERIPH_RST(x) ((x) << RESET_STATUS0_PERIPH_RST_SHIFT)
455
456/* MASTER_RST: Status of the MASTER_RST reset generator output */
457#define RESET_STATUS0_MASTER_RST_SHIFT (4)
458#define RESET_STATUS0_MASTER_RST_MASK (0x3 << RESET_STATUS0_MASTER_RST_SHIFT)
459#define RESET_STATUS0_MASTER_RST(x) ((x) << RESET_STATUS0_MASTER_RST_SHIFT)
460
461/* WWDT_RST: Status of the WWDT_RST reset generator output */
462#define RESET_STATUS0_WWDT_RST_SHIFT (8)
463#define RESET_STATUS0_WWDT_RST_MASK (0x3 << RESET_STATUS0_WWDT_RST_SHIFT)
464#define RESET_STATUS0_WWDT_RST(x) ((x) << RESET_STATUS0_WWDT_RST_SHIFT)
465
466/* CREG_RST: Status of the CREG_RST reset generator output */
467#define RESET_STATUS0_CREG_RST_SHIFT (10)
468#define RESET_STATUS0_CREG_RST_MASK (0x3 << RESET_STATUS0_CREG_RST_SHIFT)
469#define RESET_STATUS0_CREG_RST(x) ((x) << RESET_STATUS0_CREG_RST_SHIFT)
470
471/* BUS_RST: Status of the BUS_RST reset generator output */
472#define RESET_STATUS0_BUS_RST_SHIFT (16)
473#define RESET_STATUS0_BUS_RST_MASK (0x3 << RESET_STATUS0_BUS_RST_SHIFT)
474#define RESET_STATUS0_BUS_RST(x) ((x) << RESET_STATUS0_BUS_RST_SHIFT)
475
476/* SCU_RST: Status of the SCU_RST reset generator output */
477#define RESET_STATUS0_SCU_RST_SHIFT (18)
478#define RESET_STATUS0_SCU_RST_MASK (0x3 << RESET_STATUS0_SCU_RST_SHIFT)
479#define RESET_STATUS0_SCU_RST(x) ((x) << RESET_STATUS0_SCU_RST_SHIFT)
480
481/* M4_RST: Status of the M4_RST reset generator output */
482#define RESET_STATUS0_M4_RST_SHIFT (26)
483#define RESET_STATUS0_M4_RST_MASK (0x3 << RESET_STATUS0_M4_RST_SHIFT)
484#define RESET_STATUS0_M4_RST(x) ((x) << RESET_STATUS0_M4_RST_SHIFT)
485
486/* --- RESET_STATUS1 values ------------------------------------- */
487
488/* LCD_RST: Status of the LCD_RST reset generator output */
489#define RESET_STATUS1_LCD_RST_SHIFT (0)
490#define RESET_STATUS1_LCD_RST_MASK (0x3 << RESET_STATUS1_LCD_RST_SHIFT)
491#define RESET_STATUS1_LCD_RST(x) ((x) << RESET_STATUS1_LCD_RST_SHIFT)
492
493/* USB0_RST: Status of the USB0_RST reset generator output */
494#define RESET_STATUS1_USB0_RST_SHIFT (2)
495#define RESET_STATUS1_USB0_RST_MASK (0x3 << RESET_STATUS1_USB0_RST_SHIFT)
496#define RESET_STATUS1_USB0_RST(x) ((x) << RESET_STATUS1_USB0_RST_SHIFT)
497
498/* USB1_RST: Status of the USB1_RST reset generator output */
499#define RESET_STATUS1_USB1_RST_SHIFT (4)
500#define RESET_STATUS1_USB1_RST_MASK (0x3 << RESET_STATUS1_USB1_RST_SHIFT)
501#define RESET_STATUS1_USB1_RST(x) ((x) << RESET_STATUS1_USB1_RST_SHIFT)
502
503/* DMA_RST: Status of the DMA_RST reset generator output */
504#define RESET_STATUS1_DMA_RST_SHIFT (6)
505#define RESET_STATUS1_DMA_RST_MASK (0x3 << RESET_STATUS1_DMA_RST_SHIFT)
506#define RESET_STATUS1_DMA_RST(x) ((x) << RESET_STATUS1_DMA_RST_SHIFT)
507
508/* SDIO_RST: Status of the SDIO_RST reset generator output */
509#define RESET_STATUS1_SDIO_RST_SHIFT (8)
510#define RESET_STATUS1_SDIO_RST_MASK (0x3 << RESET_STATUS1_SDIO_RST_SHIFT)
511#define RESET_STATUS1_SDIO_RST(x) ((x) << RESET_STATUS1_SDIO_RST_SHIFT)
512
513/* EMC_RST: Status of the EMC_RST reset generator output */
514#define RESET_STATUS1_EMC_RST_SHIFT (10)
515#define RESET_STATUS1_EMC_RST_MASK (0x3 << RESET_STATUS1_EMC_RST_SHIFT)
516#define RESET_STATUS1_EMC_RST(x) ((x) << RESET_STATUS1_EMC_RST_SHIFT)
517
518/* ETHERNET_RST: Status of the ETHERNET_RST reset generator output */
519#define RESET_STATUS1_ETHERNET_RST_SHIFT (12)
520#define RESET_STATUS1_ETHERNET_RST_MASK \
521 (0x3 << RESET_STATUS1_ETHERNET_RST_SHIFT)
522#define RESET_STATUS1_ETHERNET_RST(x) ((x) << RESET_STATUS1_ETHERNET_RST_SHIFT)
523
524/* FLASHA_RST: Status of the FLASHA_RST reset generator output */
525#define RESET_STATUS1_FLASHA_RST_SHIFT (18)
526#define RESET_STATUS1_FLASHA_RST_MASK (0x3 << RESET_STATUS1_FLASHA_RST_SHIFT)
527#define RESET_STATUS1_FLASHA_RST(x) ((x) << RESET_STATUS1_FLASHA_RST_SHIFT)
528
529/* EEPROM_RST: Status of the EEPROM_RST reset generator output */
530#define RESET_STATUS1_EEPROM_RST_SHIFT (22)
531#define RESET_STATUS1_EEPROM_RST_MASK (0x3 << RESET_STATUS1_EEPROM_RST_SHIFT)
532#define RESET_STATUS1_EEPROM_RST(x) ((x) << RESET_STATUS1_EEPROM_RST_SHIFT)
533
534/* GPIO_RST: Status of the GPIO_RST reset generator output */
535#define RESET_STATUS1_GPIO_RST_SHIFT (24)
536#define RESET_STATUS1_GPIO_RST_MASK (0x3 << RESET_STATUS1_GPIO_RST_SHIFT)
537#define RESET_STATUS1_GPIO_RST(x) ((x) << RESET_STATUS1_GPIO_RST_SHIFT)
538
539/* FLASHB_RST: Status of the FLASHB_RST reset generator output */
540#define RESET_STATUS1_FLASHB_RST_SHIFT (26)
541#define RESET_STATUS1_FLASHB_RST_MASK (0x3 << RESET_STATUS1_FLASHB_RST_SHIFT)
542#define RESET_STATUS1_FLASHB_RST(x) ((x) << RESET_STATUS1_FLASHB_RST_SHIFT)
543
544/* --- RESET_STATUS2 values ------------------------------------- */
545
546/* TIMER0_RST: Status of the TIMER0_RST reset generator output */
547#define RESET_STATUS2_TIMER0_RST_SHIFT (0)
548#define RESET_STATUS2_TIMER0_RST_MASK (0x3 << RESET_STATUS2_TIMER0_RST_SHIFT)
549#define RESET_STATUS2_TIMER0_RST(x) ((x) << RESET_STATUS2_TIMER0_RST_SHIFT)
550
551/* TIMER1_RST: Status of the TIMER1_RST reset generator output */
552#define RESET_STATUS2_TIMER1_RST_SHIFT (2)
553#define RESET_STATUS2_TIMER1_RST_MASK (0x3 << RESET_STATUS2_TIMER1_RST_SHIFT)
554#define RESET_STATUS2_TIMER1_RST(x) ((x) << RESET_STATUS2_TIMER1_RST_SHIFT)
555
556/* TIMER2_RST: Status of the TIMER2_RST reset generator output */
557#define RESET_STATUS2_TIMER2_RST_SHIFT (4)
558#define RESET_STATUS2_TIMER2_RST_MASK (0x3 << RESET_STATUS2_TIMER2_RST_SHIFT)
559#define RESET_STATUS2_TIMER2_RST(x) ((x) << RESET_STATUS2_TIMER2_RST_SHIFT)
560
561/* TIMER3_RST: Status of the TIMER3_RST reset generator output */
562#define RESET_STATUS2_TIMER3_RST_SHIFT (6)
563#define RESET_STATUS2_TIMER3_RST_MASK (0x3 << RESET_STATUS2_TIMER3_RST_SHIFT)
564#define RESET_STATUS2_TIMER3_RST(x) ((x) << RESET_STATUS2_TIMER3_RST_SHIFT)
565
566/* RITIMER_RST: Status of the RITIMER_RST reset generator output */
567#define RESET_STATUS2_RITIMER_RST_SHIFT (8)
568#define RESET_STATUS2_RITIMER_RST_MASK (0x3 << RESET_STATUS2_RITIMER_RST_SHIFT)
569#define RESET_STATUS2_RITIMER_RST(x) ((x) << RESET_STATUS2_RITIMER_RST_SHIFT)
570
571/* SCT_RST: Status of the SCT_RST reset generator output */
572#define RESET_STATUS2_SCT_RST_SHIFT (10)
573#define RESET_STATUS2_SCT_RST_MASK (0x3 << RESET_STATUS2_SCT_RST_SHIFT)
574#define RESET_STATUS2_SCT_RST(x) ((x) << RESET_STATUS2_SCT_RST_SHIFT)
575
576/* MOTOCONPWM_RST: Status of the MOTOCONPWM_RST reset generator output */
577#define RESET_STATUS2_MOTOCONPWM_RST_SHIFT (12)
578#define RESET_STATUS2_MOTOCONPWM_RST_MASK \
579 (0x3 << RESET_STATUS2_MOTOCONPWM_RST_SHIFT)
580#define RESET_STATUS2_MOTOCONPWM_RST(x) \
581 ((x) << RESET_STATUS2_MOTOCONPWM_RST_SHIFT)
582
583/* QEI_RST: Status of the QEI_RST reset generator output */
584#define RESET_STATUS2_QEI_RST_SHIFT (14)
585#define RESET_STATUS2_QEI_RST_MASK (0x3 << RESET_STATUS2_QEI_RST_SHIFT)
586#define RESET_STATUS2_QEI_RST(x) ((x) << RESET_STATUS2_QEI_RST_SHIFT)
587
588/* ADC0_RST: Status of the ADC0_RST reset generator output */
589#define RESET_STATUS2_ADC0_RST_SHIFT (16)
590#define RESET_STATUS2_ADC0_RST_MASK (0x3 << RESET_STATUS2_ADC0_RST_SHIFT)
591#define RESET_STATUS2_ADC0_RST(x) ((x) << RESET_STATUS2_ADC0_RST_SHIFT)
592
593/* ADC1_RST: Status of the ADC1_RST reset generator output */
594#define RESET_STATUS2_ADC1_RST_SHIFT (18)
595#define RESET_STATUS2_ADC1_RST_MASK (0x3 << RESET_STATUS2_ADC1_RST_SHIFT)
596#define RESET_STATUS2_ADC1_RST(x) ((x) << RESET_STATUS2_ADC1_RST_SHIFT)
597
598/* DAC_RST: Status of the DAC_RST reset generator output */
599#define RESET_STATUS2_DAC_RST_SHIFT (20)
600#define RESET_STATUS2_DAC_RST_MASK (0x3 << RESET_STATUS2_DAC_RST_SHIFT)
601#define RESET_STATUS2_DAC_RST(x) ((x) << RESET_STATUS2_DAC_RST_SHIFT)
602
603/* UART0_RST: Status of the UART0_RST reset generator output */
604#define RESET_STATUS2_UART0_RST_SHIFT (24)
605#define RESET_STATUS2_UART0_RST_MASK (0x3 << RESET_STATUS2_UART0_RST_SHIFT)
606#define RESET_STATUS2_UART0_RST(x) ((x) << RESET_STATUS2_UART0_RST_SHIFT)
607
608/* UART1_RST: Status of the UART1_RST reset generator output */
609#define RESET_STATUS2_UART1_RST_SHIFT (26)
610#define RESET_STATUS2_UART1_RST_MASK (0x3 << RESET_STATUS2_UART1_RST_SHIFT)
611#define RESET_STATUS2_UART1_RST(x) ((x) << RESET_STATUS2_UART1_RST_SHIFT)
612
613/* UART2_RST: Status of the UART2_RST reset generator output */
614#define RESET_STATUS2_UART2_RST_SHIFT (28)
615#define RESET_STATUS2_UART2_RST_MASK (0x3 << RESET_STATUS2_UART2_RST_SHIFT)
616#define RESET_STATUS2_UART2_RST(x) ((x) << RESET_STATUS2_UART2_RST_SHIFT)
617
618/* UART3_RST: Status of the UART3_RST reset generator output */
619#define RESET_STATUS2_UART3_RST_SHIFT (30)
620#define RESET_STATUS2_UART3_RST_MASK (0x3 << RESET_STATUS2_UART3_RST_SHIFT)
621#define RESET_STATUS2_UART3_RST(x) ((x) << RESET_STATUS2_UART3_RST_SHIFT)
622
623/* --- RESET_STATUS3 values ------------------------------------- */
624
625/* I2C0_RST: Status of the I2C0_RST reset generator output */
626#define RESET_STATUS3_I2C0_RST_SHIFT (0)
627#define RESET_STATUS3_I2C0_RST_MASK (0x3 << RESET_STATUS3_I2C0_RST_SHIFT)
628#define RESET_STATUS3_I2C0_RST(x) ((x) << RESET_STATUS3_I2C0_RST_SHIFT)
629
630/* I2C1_RST: Status of the I2C1_RST reset generator output */
631#define RESET_STATUS3_I2C1_RST_SHIFT (2)
632#define RESET_STATUS3_I2C1_RST_MASK (0x3 << RESET_STATUS3_I2C1_RST_SHIFT)
633#define RESET_STATUS3_I2C1_RST(x) ((x) << RESET_STATUS3_I2C1_RST_SHIFT)
634
635/* SSP0_RST: Status of the SSP0_RST reset generator output */
636#define RESET_STATUS3_SSP0_RST_SHIFT (4)
637#define RESET_STATUS3_SSP0_RST_MASK (0x3 << RESET_STATUS3_SSP0_RST_SHIFT)
638#define RESET_STATUS3_SSP0_RST(x) ((x) << RESET_STATUS3_SSP0_RST_SHIFT)
639
640/* SSP1_RST: Status of the SSP1_RST reset generator output */
641#define RESET_STATUS3_SSP1_RST_SHIFT (6)
642#define RESET_STATUS3_SSP1_RST_MASK (0x3 << RESET_STATUS3_SSP1_RST_SHIFT)
643#define RESET_STATUS3_SSP1_RST(x) ((x) << RESET_STATUS3_SSP1_RST_SHIFT)
644
645/* I2S_RST: Status of the I2S_RST reset generator output */
646#define RESET_STATUS3_I2S_RST_SHIFT (8)
647#define RESET_STATUS3_I2S_RST_MASK (0x3 << RESET_STATUS3_I2S_RST_SHIFT)
648#define RESET_STATUS3_I2S_RST(x) ((x) << RESET_STATUS3_I2S_RST_SHIFT)
649
650/* SPIFI_RST: Status of the SPIFI_RST reset generator output */
651#define RESET_STATUS3_SPIFI_RST_SHIFT (10)
652#define RESET_STATUS3_SPIFI_RST_MASK (0x3 << RESET_STATUS3_SPIFI_RST_SHIFT)
653#define RESET_STATUS3_SPIFI_RST(x) ((x) << RESET_STATUS3_SPIFI_RST_SHIFT)
654
655/* CAN1_RST: Status of the CAN1_RST reset generator output */
656#define RESET_STATUS3_CAN1_RST_SHIFT (12)
657#define RESET_STATUS3_CAN1_RST_MASK (0x3 << RESET_STATUS3_CAN1_RST_SHIFT)
658#define RESET_STATUS3_CAN1_RST(x) ((x) << RESET_STATUS3_CAN1_RST_SHIFT)
659
660/* CAN0_RST: Status of the CAN0_RST reset generator output */
661#define RESET_STATUS3_CAN0_RST_SHIFT (14)
662#define RESET_STATUS3_CAN0_RST_MASK (0x3 << RESET_STATUS3_CAN0_RST_SHIFT)
663#define RESET_STATUS3_CAN0_RST(x) ((x) << RESET_STATUS3_CAN0_RST_SHIFT)
664
665/* M0APP_RST: Status of the M0APP_RST reset generator output */
666#define RESET_STATUS3_M0APP_RST_SHIFT (16)
667#define RESET_STATUS3_M0APP_RST_MASK (0x3 << RESET_STATUS3_M0APP_RST_SHIFT)
668#define RESET_STATUS3_M0APP_RST(x) ((x) << RESET_STATUS3_M0APP_RST_SHIFT)
669
670/* SGPIO_RST: Status of the SGPIO_RST reset generator output */
671#define RESET_STATUS3_SGPIO_RST_SHIFT (18)
672#define RESET_STATUS3_SGPIO_RST_MASK (0x3 << RESET_STATUS3_SGPIO_RST_SHIFT)
673#define RESET_STATUS3_SGPIO_RST(x) ((x) << RESET_STATUS3_SGPIO_RST_SHIFT)
674
675/* SPI_RST: Status of the SPI_RST reset generator output */
676#define RESET_STATUS3_SPI_RST_SHIFT (20)
677#define RESET_STATUS3_SPI_RST_MASK (0x3 << RESET_STATUS3_SPI_RST_SHIFT)
678#define RESET_STATUS3_SPI_RST(x) ((x) << RESET_STATUS3_SPI_RST_SHIFT)
679
680/* --- RESET_ACTIVE_STATUS0 values ------------------------------ */
681
682/* CORE_RST: Current status of the CORE_RST */
683#define RESET_ACTIVE_STATUS0_CORE_RST_SHIFT (0)
684#define RESET_ACTIVE_STATUS0_CORE_RST (1 << RESET_ACTIVE_STATUS0_CORE_RST_SHIFT)
685
686/* PERIPH_RST: Current status of the PERIPH_RST */
687#define RESET_ACTIVE_STATUS0_PERIPH_RST_SHIFT (1)
688#define RESET_ACTIVE_STATUS0_PERIPH_RST \
689 (1 << RESET_ACTIVE_STATUS0_PERIPH_RST_SHIFT)
690
691/* MASTER_RST: Current status of the MASTER_RST */
692#define RESET_ACTIVE_STATUS0_MASTER_RST_SHIFT (2)
693#define RESET_ACTIVE_STATUS0_MASTER_RST \
694 (1 << RESET_ACTIVE_STATUS0_MASTER_RST_SHIFT)
695
696/* WWDT_RST: Current status of the WWDT_RST */
697#define RESET_ACTIVE_STATUS0_WWDT_RST_SHIFT (4)
698#define RESET_ACTIVE_STATUS0_WWDT_RST (1 << RESET_ACTIVE_STATUS0_WWDT_RST_SHIFT)
699
700/* CREG_RST: Current status of the CREG_RST */
701#define RESET_ACTIVE_STATUS0_CREG_RST_SHIFT (5)
702#define RESET_ACTIVE_STATUS0_CREG_RST (1 << RESET_ACTIVE_STATUS0_CREG_RST_SHIFT)
703
704/* BUS_RST: Current status of the BUS_RST */
705#define RESET_ACTIVE_STATUS0_BUS_RST_SHIFT (8)
706#define RESET_ACTIVE_STATUS0_BUS_RST (1 << RESET_ACTIVE_STATUS0_BUS_RST_SHIFT)
707
708/* SCU_RST: Current status of the SCU_RST */
709#define RESET_ACTIVE_STATUS0_SCU_RST_SHIFT (9)
710#define RESET_ACTIVE_STATUS0_SCU_RST (1 << RESET_ACTIVE_STATUS0_SCU_RST_SHIFT)
711
712/* M4_RST: Current status of the M4_RST */
713#define RESET_ACTIVE_STATUS0_M4_RST_SHIFT (13)
714#define RESET_ACTIVE_STATUS0_M4_RST (1 << RESET_ACTIVE_STATUS0_M4_RST_SHIFT)
715
716/* LCD_RST: Current status of the LCD_RST */
717#define RESET_ACTIVE_STATUS0_LCD_RST_SHIFT (16)
718#define RESET_ACTIVE_STATUS0_LCD_RST (1 << RESET_ACTIVE_STATUS0_LCD_RST_SHIFT)
719
720/* USB0_RST: Current status of the USB0_RST */
721#define RESET_ACTIVE_STATUS0_USB0_RST_SHIFT (17)
722#define RESET_ACTIVE_STATUS0_USB0_RST (1 << RESET_ACTIVE_STATUS0_USB0_RST_SHIFT)
723
724/* USB1_RST: Current status of the USB1_RST */
725#define RESET_ACTIVE_STATUS0_USB1_RST_SHIFT (18)
726#define RESET_ACTIVE_STATUS0_USB1_RST (1 << RESET_ACTIVE_STATUS0_USB1_RST_SHIFT)
727
728/* DMA_RST: Current status of the DMA_RST */
729#define RESET_ACTIVE_STATUS0_DMA_RST_SHIFT (19)
730#define RESET_ACTIVE_STATUS0_DMA_RST (1 << RESET_ACTIVE_STATUS0_DMA_RST_SHIFT)
731
732/* SDIO_RST: Current status of the SDIO_RST */
733#define RESET_ACTIVE_STATUS0_SDIO_RST_SHIFT (20)
734#define RESET_ACTIVE_STATUS0_SDIO_RST (1 << RESET_ACTIVE_STATUS0_SDIO_RST_SHIFT)
735
736/* EMC_RST: Current status of the EMC_RST */
737#define RESET_ACTIVE_STATUS0_EMC_RST_SHIFT (21)
738#define RESET_ACTIVE_STATUS0_EMC_RST (1 << RESET_ACTIVE_STATUS0_EMC_RST_SHIFT)
739
740/* ETHERNET_RST: Current status of the ETHERNET_RST */
741#define RESET_ACTIVE_STATUS0_ETHERNET_RST_SHIFT (22)
742#define RESET_ACTIVE_STATUS0_ETHERNET_RST \
743 (1 << RESET_ACTIVE_STATUS0_ETHERNET_RST_SHIFT)
744
745/* FLASHA_RST: Current status of the FLASHA_RST */
746#define RESET_ACTIVE_STATUS0_FLASHA_RST_SHIFT (25)
747#define RESET_ACTIVE_STATUS0_FLASHA_RST \
748 (1 << RESET_ACTIVE_STATUS0_FLASHA_RST_SHIFT)
749
750/* EEPROM_RST: Current status of the EEPROM_RST */
751#define RESET_ACTIVE_STATUS0_EEPROM_RST_SHIFT (27)
752#define RESET_ACTIVE_STATUS0_EEPROM_RST \
753 (1 << RESET_ACTIVE_STATUS0_EEPROM_RST_SHIFT)
754
755/* GPIO_RST: Current status of the GPIO_RST */
756#define RESET_ACTIVE_STATUS0_GPIO_RST_SHIFT (28)
757#define RESET_ACTIVE_STATUS0_GPIO_RST (1 << RESET_ACTIVE_STATUS0_GPIO_RST_SHIFT)
758
759/* FLASHB_RST: Current status of the FLASHB_RST */
760#define RESET_ACTIVE_STATUS0_FLASHB_RST_SHIFT (29)
761#define RESET_ACTIVE_STATUS0_FLASHB_RST \
762 (1 << RESET_ACTIVE_STATUS0_FLASHB_RST_SHIFT)
763
764/* --- RESET_ACTIVE_STATUS1 values ------------------------------ */
765
766/* TIMER0_RST: Current status of the TIMER0_RST */
767#define RESET_ACTIVE_STATUS1_TIMER0_RST_SHIFT (0)
768#define RESET_ACTIVE_STATUS1_TIMER0_RST \
769 (1 << RESET_ACTIVE_STATUS1_TIMER0_RST_SHIFT)
770
771/* TIMER1_RST: Current status of the TIMER1_RST */
772#define RESET_ACTIVE_STATUS1_TIMER1_RST_SHIFT (1)
773#define RESET_ACTIVE_STATUS1_TIMER1_RST \
774 (1 << RESET_ACTIVE_STATUS1_TIMER1_RST_SHIFT)
775
776/* TIMER2_RST: Current status of the TIMER2_RST */
777#define RESET_ACTIVE_STATUS1_TIMER2_RST_SHIFT (2)
778#define RESET_ACTIVE_STATUS1_TIMER2_RST \
779 (1 << RESET_ACTIVE_STATUS1_TIMER2_RST_SHIFT)
780
781/* TIMER3_RST: Current status of the TIMER3_RST */
782#define RESET_ACTIVE_STATUS1_TIMER3_RST_SHIFT (3)
783#define RESET_ACTIVE_STATUS1_TIMER3_RST \
784 (1 << RESET_ACTIVE_STATUS1_TIMER3_RST_SHIFT)
785
786/* RITIMER_RST: Current status of the RITIMER_RST */
787#define RESET_ACTIVE_STATUS1_RITIMER_RST_SHIFT (4)
788#define RESET_ACTIVE_STATUS1_RITIMER_RST \
789 (1 << RESET_ACTIVE_STATUS1_RITIMER_RST_SHIFT)
790
791/* SCT_RST: Current status of the SCT_RST */
792#define RESET_ACTIVE_STATUS1_SCT_RST_SHIFT (5)
793#define RESET_ACTIVE_STATUS1_SCT_RST \
794 (1 << RESET_ACTIVE_STATUS1_SCT_RST_SHIFT)
795
796/* MOTOCONPWM_RST: Current status of the MOTOCONPWM_RST */
797#define RESET_ACTIVE_STATUS1_MOTOCONPWM_RST_SHIFT (6)
798#define RESET_ACTIVE_STATUS1_MOTOCONPWM_RST \
799 (1 << RESET_ACTIVE_STATUS1_MOTOCONPWM_RST_SHIFT)
800
801/* QEI_RST: Current status of the QEI_RST */
802#define RESET_ACTIVE_STATUS1_QEI_RST_SHIFT (7)
803#define RESET_ACTIVE_STATUS1_QEI_RST \
804 (1 << RESET_ACTIVE_STATUS1_QEI_RST_SHIFT)
805
806/* ADC0_RST: Current status of the ADC0_RST */
807#define RESET_ACTIVE_STATUS1_ADC0_RST_SHIFT (8)
808#define RESET_ACTIVE_STATUS1_ADC0_RST \
809 (1 << RESET_ACTIVE_STATUS1_ADC0_RST_SHIFT)
810
811/* ADC1_RST: Current status of the ADC1_RST */
812#define RESET_ACTIVE_STATUS1_ADC1_RST_SHIFT (9)
813#define RESET_ACTIVE_STATUS1_ADC1_RST \
814 (1 << RESET_ACTIVE_STATUS1_ADC1_RST_SHIFT)
815
816/* DAC_RST: Current status of the DAC_RST */
817#define RESET_ACTIVE_STATUS1_DAC_RST_SHIFT (10)
818#define RESET_ACTIVE_STATUS1_DAC_RST (1 << RESET_ACTIVE_STATUS1_DAC_RST_SHIFT)
819
820/* UART0_RST: Current status of the UART0_RST */
821#define RESET_ACTIVE_STATUS1_UART0_RST_SHIFT (12)
822#define RESET_ACTIVE_STATUS1_UART0_RST \
823 (1 << RESET_ACTIVE_STATUS1_UART0_RST_SHIFT)
824
825/* UART1_RST: Current status of the UART1_RST */
826#define RESET_ACTIVE_STATUS1_UART1_RST_SHIFT (13)
827#define RESET_ACTIVE_STATUS1_UART1_RST \
828 (1 << RESET_ACTIVE_STATUS1_UART1_RST_SHIFT)
829
830/* UART2_RST: Current status of the UART2_RST */
831#define RESET_ACTIVE_STATUS1_UART2_RST_SHIFT (14)
832#define RESET_ACTIVE_STATUS1_UART2_RST \
833 (1 << RESET_ACTIVE_STATUS1_UART2_RST_SHIFT)
834
835/* UART3_RST: Current status of the UART3_RST */
836#define RESET_ACTIVE_STATUS1_UART3_RST_SHIFT (15)
837#define RESET_ACTIVE_STATUS1_UART3_RST \
838 (1 << RESET_ACTIVE_STATUS1_UART3_RST_SHIFT)
839
840/* I2C0_RST: Current status of the I2C0_RST */
841#define RESET_ACTIVE_STATUS1_I2C0_RST_SHIFT (16)
842#define RESET_ACTIVE_STATUS1_I2C0_RST \
843 (1 << RESET_ACTIVE_STATUS1_I2C0_RST_SHIFT)
844
845/* I2C1_RST: Current status of the I2C1_RST */
846#define RESET_ACTIVE_STATUS1_I2C1_RST_SHIFT (17)
847#define RESET_ACTIVE_STATUS1_I2C1_RST \
848 (1 << RESET_ACTIVE_STATUS1_I2C1_RST_SHIFT)
849
850/* SSP0_RST: Current status of the SSP0_RST */
851#define RESET_ACTIVE_STATUS1_SSP0_RST_SHIFT (18)
852#define RESET_ACTIVE_STATUS1_SSP0_RST \
853 (1 << RESET_ACTIVE_STATUS1_SSP0_RST_SHIFT)
854
855/* SSP1_RST: Current status of the SSP1_RST */
856#define RESET_ACTIVE_STATUS1_SSP1_RST_SHIFT (19)
857#define RESET_ACTIVE_STATUS1_SSP1_RST \
858 (1 << RESET_ACTIVE_STATUS1_SSP1_RST_SHIFT)
859
860/* I2S_RST: Current status of the I2S_RST */
861#define RESET_ACTIVE_STATUS1_I2S_RST_SHIFT (20)
862#define RESET_ACTIVE_STATUS1_I2S_RST (1 << RESET_ACTIVE_STATUS1_I2S_RST_SHIFT)
863
864/* SPIFI_RST: Current status of the SPIFI_RST */
865#define RESET_ACTIVE_STATUS1_SPIFI_RST_SHIFT (21)
866#define RESET_ACTIVE_STATUS1_SPIFI_RST \
867 (1 << RESET_ACTIVE_STATUS1_SPIFI_RST_SHIFT)
868
869/* CAN1_RST: Current status of the CAN1_RST */
870#define RESET_ACTIVE_STATUS1_CAN1_RST_SHIFT (22)
871#define RESET_ACTIVE_STATUS1_CAN1_RST \
872 (1 << RESET_ACTIVE_STATUS1_CAN1_RST_SHIFT)
873
874/* CAN0_RST: Current status of the CAN0_RST */
875#define RESET_ACTIVE_STATUS1_CAN0_RST_SHIFT (23)
876#define RESET_ACTIVE_STATUS1_CAN0_RST \
877 (1 << RESET_ACTIVE_STATUS1_CAN0_RST_SHIFT)
878
879/* M0APP_RST: Current status of the M0APP_RST */
880#define RESET_ACTIVE_STATUS1_M0APP_RST_SHIFT (24)
881#define RESET_ACTIVE_STATUS1_M0APP_RST \
882 (1 << RESET_ACTIVE_STATUS1_M0APP_RST_SHIFT)
883
884/* SGPIO_RST: Current status of the SGPIO_RST */
885#define RESET_ACTIVE_STATUS1_SGPIO_RST_SHIFT (25)
886#define RESET_ACTIVE_STATUS1_SGPIO_RST \
887 (1 << RESET_ACTIVE_STATUS1_SGPIO_RST_SHIFT)
888
889/* SPI_RST: Current status of the SPI_RST */
890#define RESET_ACTIVE_STATUS1_SPI_RST_SHIFT (26)
891#define RESET_ACTIVE_STATUS1_SPI_RST (1 << RESET_ACTIVE_STATUS1_SPI_RST_SHIFT)
892
893/* --- RESET_EXT_STAT0 values ----------------------------------- */
894
895/* EXT_RESET: Reset activated by external reset from reset pin */
896#define RESET_EXT_STAT0_EXT_RESET_SHIFT (0)
897#define RESET_EXT_STAT0_EXT_RESET (1 << RESET_EXT_STAT0_EXT_RESET_SHIFT)
898
899/* BOD_RESET: Reset activated by BOD reset */
900#define RESET_EXT_STAT0_BOD_RESET_SHIFT (4)
901#define RESET_EXT_STAT0_BOD_RESET (1 << RESET_EXT_STAT0_BOD_RESET_SHIFT)
902
903/* WWDT_RESET: Reset activated by WWDT time-out */
904#define RESET_EXT_STAT0_WWDT_RESET_SHIFT (5)
905#define RESET_EXT_STAT0_WWDT_RESET (1 << RESET_EXT_STAT0_WWDT_RESET_SHIFT)
906
907/* --- RESET_EXT_STAT1 values ----------------------------------- */
908
909/* CORE_RESET: Reset activated by CORE_RST output */
910#define RESET_EXT_STAT1_CORE_RESET_SHIFT (1)
911#define RESET_EXT_STAT1_CORE_RESET (1 << RESET_EXT_STAT1_CORE_RESET_SHIFT)
912
913/* --- RESET_EXT_STAT2 values ----------------------------------- */
914
915/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
916#define RESET_EXT_STAT2_PERIPHERAL_RESET_SHIFT (2)
917#define RESET_EXT_STAT2_PERIPHERAL_RESET \
918 (1 << RESET_EXT_STAT2_PERIPHERAL_RESET_SHIFT)
919
920/* --- RESET_EXT_STAT4 values ----------------------------------- */
921
922/* CORE_RESET: Reset activated by CORE_RST output */
923#define RESET_EXT_STAT4_CORE_RESET_SHIFT (1)
924#define RESET_EXT_STAT4_CORE_RESET (1 << RESET_EXT_STAT4_CORE_RESET_SHIFT)
925
926/* --- RESET_EXT_STAT5 values ----------------------------------- */
927
928/* CORE_RESET: Reset activated by CORE_RST output */
929#define RESET_EXT_STAT5_CORE_RESET_SHIFT (1)
930#define RESET_EXT_STAT5_CORE_RESET (1 << RESET_EXT_STAT5_CORE_RESET_SHIFT)
931
932/* --- RESET_EXT_STAT8 values ----------------------------------- */
933
934/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
935#define RESET_EXT_STAT8_PERIPHERAL_RESET_SHIFT (2)
936#define RESET_EXT_STAT8_PERIPHERAL_RESET \
937 (1 << RESET_EXT_STAT8_PERIPHERAL_RESET_SHIFT)
938
939/* --- RESET_EXT_STAT9 values ----------------------------------- */
940
941/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
942#define RESET_EXT_STAT9_PERIPHERAL_RESET_SHIFT (2)
943#define RESET_EXT_STAT9_PERIPHERAL_RESET \
944 (1 << RESET_EXT_STAT9_PERIPHERAL_RESET_SHIFT)
945
946/* --- RESET_EXT_STAT13 values ---------------------------------- */
947
948/* MASTER_RESET: Reset activated by MASTER_RST output */
949#define RESET_EXT_STAT13_MASTER_RESET_SHIFT (3)
950#define RESET_EXT_STAT13_MASTER_RESET (1 << RESET_EXT_STAT13_MASTER_RESET_SHIFT)
951
952/* --- RESET_EXT_STAT16 values ---------------------------------- */
953
954/* MASTER_RESET: Reset activated by MASTER_RST output */
955#define RESET_EXT_STAT16_MASTER_RESET_SHIFT (3)
956#define RESET_EXT_STAT16_MASTER_RESET (1 << RESET_EXT_STAT16_MASTER_RESET_SHIFT)
957
958/* --- RESET_EXT_STAT17 values ---------------------------------- */
959
960/* MASTER_RESET: Reset activated by MASTER_RST output */
961#define RESET_EXT_STAT17_MASTER_RESET_SHIFT (3)
962#define RESET_EXT_STAT17_MASTER_RESET (1 << RESET_EXT_STAT17_MASTER_RESET_SHIFT)
963
964/* --- RESET_EXT_STAT18 values ---------------------------------- */
965
966/* MASTER_RESET: Reset activated by MASTER_RST output */
967#define RESET_EXT_STAT18_MASTER_RESET_SHIFT (3)
968#define RESET_EXT_STAT18_MASTER_RESET (1 << RESET_EXT_STAT18_MASTER_RESET_SHIFT)
969
970/* --- RESET_EXT_STAT19 values ---------------------------------- */
971
972/* MASTER_RESET: Reset activated by MASTER_RST output */
973#define RESET_EXT_STAT19_MASTER_RESET_SHIFT (3)
974#define RESET_EXT_STAT19_MASTER_RESET (1 << RESET_EXT_STAT19_MASTER_RESET_SHIFT)
975
976/* --- RESET_EXT_STAT20 values ---------------------------------- */
977
978/* MASTER_RESET: Reset activated by MASTER_RST output */
979#define RESET_EXT_STAT20_MASTER_RESET_SHIFT (3)
980#define RESET_EXT_STAT20_MASTER_RESET (1 << RESET_EXT_STAT20_MASTER_RESET_SHIFT)
981
982/* --- RESET_EXT_STAT21 values ---------------------------------- */
983
984/* MASTER_RESET: Reset activated by MASTER_RST output */
985#define RESET_EXT_STAT21_MASTER_RESET_SHIFT (3)
986#define RESET_EXT_STAT21_MASTER_RESET (1 << RESET_EXT_STAT21_MASTER_RESET_SHIFT)
987
988/* --- RESET_EXT_STAT22 values ---------------------------------- */
989
990/* MASTER_RESET: Reset activated by MASTER_RST output */
991#define RESET_EXT_STAT22_MASTER_RESET_SHIFT (3)
992#define RESET_EXT_STAT22_MASTER_RESET (1 << RESET_EXT_STAT22_MASTER_RESET_SHIFT)
993
994/* --- RESET_EXT_STAT25 values ---------------------------------- */
995
996/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
997#define RESET_EXT_STAT25_PERIPHERAL_RESET_SHIFT (2)
998#define RESET_EXT_STAT25_PERIPHERAL_RESET \
999 (1 << RESET_EXT_STAT25_PERIPHERAL_RESET_SHIFT)
1000
1001/* --- RESET_EXT_STAT27 values ---------------------------------- */
1002
1003/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1004#define RESET_EXT_STAT27_PERIPHERAL_RESET_SHIFT (2)
1005#define RESET_EXT_STAT27_PERIPHERAL_RESET \
1006 (1 << RESET_EXT_STAT27_PERIPHERAL_RESET_SHIFT)
1007
1008/* --- RESET_EXT_STAT28 values ---------------------------------- */
1009
1010/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1011#define RESET_EXT_STAT28_PERIPHERAL_RESET_SHIFT (2)
1012#define RESET_EXT_STAT28_PERIPHERAL_RESET \
1013 (1 << RESET_EXT_STAT28_PERIPHERAL_RESET_SHIFT)
1014
1015/* --- RESET_EXT_STAT29 values ---------------------------------- */
1016
1017/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1018#define RESET_EXT_STAT29_PERIPHERAL_RESET_SHIFT (2)
1019#define RESET_EXT_STAT29_PERIPHERAL_RESET \
1020 (1 << RESET_EXT_STAT29_PERIPHERAL_RESET_SHIFT)
1021
1022/* --- RESET_EXT_STAT32 values ---------------------------------- */
1023
1024/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1025#define RESET_EXT_STAT32_PERIPHERAL_RESET_SHIFT (2)
1026#define RESET_EXT_STAT32_PERIPHERAL_RESET \
1027 (1 << RESET_EXT_STAT32_PERIPHERAL_RESET_SHIFT)
1028
1029/* --- RESET_EXT_STAT33 values ---------------------------------- */
1030
1031/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1032#define RESET_EXT_STAT33_PERIPHERAL_RESET_SHIFT (2)
1033#define RESET_EXT_STAT33_PERIPHERAL_RESET \
1034 (1 << RESET_EXT_STAT33_PERIPHERAL_RESET_SHIFT)
1035
1036/* --- RESET_EXT_STAT34 values ---------------------------------- */
1037
1038/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1039#define RESET_EXT_STAT34_PERIPHERAL_RESET_SHIFT (2)
1040#define RESET_EXT_STAT34_PERIPHERAL_RESET \
1041 (1 << RESET_EXT_STAT34_PERIPHERAL_RESET_SHIFT)
1042
1043/* --- RESET_EXT_STAT35 values ---------------------------------- */
1044
1045/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1046#define RESET_EXT_STAT35_PERIPHERAL_RESET_SHIFT (2)
1047#define RESET_EXT_STAT35_PERIPHERAL_RESET \
1048 (1 << RESET_EXT_STAT35_PERIPHERAL_RESET_SHIFT)
1049
1050/* --- RESET_EXT_STAT36 values ---------------------------------- */
1051
1052/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1053#define RESET_EXT_STAT36_PERIPHERAL_RESET_SHIFT (2)
1054#define RESET_EXT_STAT36_PERIPHERAL_RESET \
1055 (1 << RESET_EXT_STAT36_PERIPHERAL_RESET_SHIFT)
1056
1057/* --- RESET_EXT_STAT37 values ---------------------------------- */
1058
1059/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1060#define RESET_EXT_STAT37_PERIPHERAL_RESET_SHIFT (2)
1061#define RESET_EXT_STAT37_PERIPHERAL_RESET \
1062 (1 << RESET_EXT_STAT37_PERIPHERAL_RESET_SHIFT)
1063
1064/* --- RESET_EXT_STAT38 values ---------------------------------- */
1065
1066/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1067#define RESET_EXT_STAT38_PERIPHERAL_RESET_SHIFT (2)
1068#define RESET_EXT_STAT38_PERIPHERAL_RESET \
1069 (1 << RESET_EXT_STAT38_PERIPHERAL_RESET_SHIFT)
1070
1071/* --- RESET_EXT_STAT39 values ---------------------------------- */
1072
1073/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1074#define RESET_EXT_STAT39_PERIPHERAL_RESET_SHIFT (2)
1075#define RESET_EXT_STAT39_PERIPHERAL_RESET \
1076 (1 << RESET_EXT_STAT39_PERIPHERAL_RESET_SHIFT)
1077
1078/* --- RESET_EXT_STAT40 values ---------------------------------- */
1079
1080/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1081#define RESET_EXT_STAT40_PERIPHERAL_RESET_SHIFT (2)
1082#define RESET_EXT_STAT40_PERIPHERAL_RESET \
1083 (1 << RESET_EXT_STAT40_PERIPHERAL_RESET_SHIFT)
1084
1085/* --- RESET_EXT_STAT41 values ---------------------------------- */
1086
1087/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1088#define RESET_EXT_STAT41_PERIPHERAL_RESET_SHIFT (2)
1089#define RESET_EXT_STAT41_PERIPHERAL_RESET \
1090 (1 << RESET_EXT_STAT41_PERIPHERAL_RESET_SHIFT)
1091
1092/* --- RESET_EXT_STAT42 values ---------------------------------- */
1093
1094/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1095#define RESET_EXT_STAT42_PERIPHERAL_RESET_SHIFT (2)
1096#define RESET_EXT_STAT42_PERIPHERAL_RESET \
1097 (1 << RESET_EXT_STAT42_PERIPHERAL_RESET_SHIFT)
1098
1099/* --- RESET_EXT_STAT44 values ---------------------------------- */
1100
1101/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1102#define RESET_EXT_STAT44_PERIPHERAL_RESET_SHIFT (2)
1103#define RESET_EXT_STAT44_PERIPHERAL_RESET \
1104 (1 << RESET_EXT_STAT44_PERIPHERAL_RESET_SHIFT)
1105
1106/* --- RESET_EXT_STAT45 values ---------------------------------- */
1107
1108/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1109#define RESET_EXT_STAT45_PERIPHERAL_RESET_SHIFT (2)
1110#define RESET_EXT_STAT45_PERIPHERAL_RESET \
1111 (1 << RESET_EXT_STAT45_PERIPHERAL_RESET_SHIFT)
1112
1113/* --- RESET_EXT_STAT46 values ---------------------------------- */
1114
1115/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1116#define RESET_EXT_STAT46_PERIPHERAL_RESET_SHIFT (2)
1117#define RESET_EXT_STAT46_PERIPHERAL_RESET \
1118 (1 << RESET_EXT_STAT46_PERIPHERAL_RESET_SHIFT)
1119
1120/* --- RESET_EXT_STAT47 values ---------------------------------- */
1121
1122/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1123#define RESET_EXT_STAT47_PERIPHERAL_RESET_SHIFT (2)
1124#define RESET_EXT_STAT47_PERIPHERAL_RESET \
1125 (1 << RESET_EXT_STAT47_PERIPHERAL_RESET_SHIFT)
1126
1127/* --- RESET_EXT_STAT48 values ---------------------------------- */
1128
1129/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1130#define RESET_EXT_STAT48_PERIPHERAL_RESET_SHIFT (2)
1131#define RESET_EXT_STAT48_PERIPHERAL_RESET \
1132 (1 << RESET_EXT_STAT48_PERIPHERAL_RESET_SHIFT)
1133
1134/* --- RESET_EXT_STAT49 values ---------------------------------- */
1135
1136/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1137#define RESET_EXT_STAT49_PERIPHERAL_RESET_SHIFT (2)
1138#define RESET_EXT_STAT49_PERIPHERAL_RESET \
1139 (1 << RESET_EXT_STAT49_PERIPHERAL_RESET_SHIFT)
1140
1141/* --- RESET_EXT_STAT50 values ---------------------------------- */
1142
1143/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1144#define RESET_EXT_STAT50_PERIPHERAL_RESET_SHIFT (2)
1145#define RESET_EXT_STAT50_PERIPHERAL_RESET \
1146 (1 << RESET_EXT_STAT50_PERIPHERAL_RESET_SHIFT)
1147
1148/* --- RESET_EXT_STAT51 values ---------------------------------- */
1149
1150/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1151#define RESET_EXT_STAT51_PERIPHERAL_RESET_SHIFT (2)
1152#define RESET_EXT_STAT51_PERIPHERAL_RESET \
1153 (1 << RESET_EXT_STAT51_PERIPHERAL_RESET_SHIFT)
1154
1155/* --- RESET_EXT_STAT52 values ---------------------------------- */
1156
1157/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1158#define RESET_EXT_STAT52_PERIPHERAL_RESET_SHIFT (2)
1159#define RESET_EXT_STAT52_PERIPHERAL_RESET \
1160 (1 << RESET_EXT_STAT52_PERIPHERAL_RESET_SHIFT)
1161
1162/* --- RESET_EXT_STAT53 values ---------------------------------- */
1163
1164/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1165#define RESET_EXT_STAT53_PERIPHERAL_RESET_SHIFT (2)
1166#define RESET_EXT_STAT53_PERIPHERAL_RESET \
1167 (1 << RESET_EXT_STAT53_PERIPHERAL_RESET_SHIFT)
1168
1169/* --- RESET_EXT_STAT54 values ---------------------------------- */
1170
1171/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1172#define RESET_EXT_STAT54_PERIPHERAL_RESET_SHIFT (2)
1173#define RESET_EXT_STAT54_PERIPHERAL_RESET \
1174 (1 << RESET_EXT_STAT54_PERIPHERAL_RESET_SHIFT)
1175
1176/* --- RESET_EXT_STAT55 values ---------------------------------- */
1177
1178/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1179#define RESET_EXT_STAT55_PERIPHERAL_RESET_SHIFT (2)
1180#define RESET_EXT_STAT55_PERIPHERAL_RESET \
1181 (1 << RESET_EXT_STAT55_PERIPHERAL_RESET_SHIFT)
1182
1183/* --- RESET_EXT_STAT56 values ---------------------------------- */
1184
1185/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1186#define RESET_EXT_STAT56_PERIPHERAL_RESET_SHIFT (2)
1187#define RESET_EXT_STAT56_PERIPHERAL_RESET \
1188 (1 << RESET_EXT_STAT56_PERIPHERAL_RESET_SHIFT)
1189
1190/* --- RESET_EXT_STAT57 values ---------------------------------- */
1191
1192/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1193#define RESET_EXT_STAT57_PERIPHERAL_RESET_SHIFT (2)
1194#define RESET_EXT_STAT57_PERIPHERAL_RESET \
1195 (1 << RESET_EXT_STAT57_PERIPHERAL_RESET_SHIFT)
1196
1197/* --- RESET_EXT_STAT58 values ---------------------------------- */
1198
1199/* PERIPHERAL_RESET: Reset activated by PERIPHERAL_RST output */
1200#define RESET_EXT_STAT58_PERIPHERAL_RESET_SHIFT (2)
1201#define RESET_EXT_STAT58_PERIPHERAL_RESET \
1202 (1 << RESET_EXT_STAT58_PERIPHERAL_RESET_SHIFT)
1203
1204/**@}*/
1205
1206#endif