![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 246](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827246.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
246 of 1441
NXP Semiconductors
UM10503
Chapter 15: LPC43xx/LPC43Sxx Reset Generation Unit (RGU)
15.4.4.4 Reset external status registers for PERIPHERAL_RESET
for reset generators which have the PERIPH_RST output as reset
source.
15.4.4.5 Reset external status registers for MASTER_RESET
for reset generators which have the MASTER_RST output as reset
source. These are the ARM Cortex-M4 core, the ARM Cortex-M0 cores, the LCD
controller, the USB0, the GPDMA, the SD/MMC controller, the external memory controller,
and the Ethernet controller.
The reset value is dependent on the peripheral, see
.
15.5 Functional description
15.5.1 Determine the cause of a core reset
1. Use a flag in internal RAM to determine the cause of a core reset.
a. Check the value of a flag at the start of execution. Possible flag values are:
i. !=0xAA55 FF01 && !=0xAA55 FF02
power on reset (POR)
ii.0xAA55 FF01
external reset signal (RESET)
iii.0xAA55 FF02
RGU generated core reset
b. After checking the flag, write a value of 0xAA55 FF01 to this flag.
c. Before performing an RGU generated core reset write a value of 0xAA55 FF02 to
this flag.
2. Use bits in the event router registers to determine the cause of a core reset.
Table 183. Reset external status registers x (RESET_EXT_STATx, address 0x4005 34xx) bit
description
Bit
Symbol
Description
Reset
value
Access
1:0
-
Reserved. Do not modify; read as logic 0.
0
-
2
PERIPHERAL_RESET Reset activated by PERIPHERAL_RST
output. Write 0 to clear.
0 = Reset not activated
1 = Reset activated
1
R/W
31:3
-
Reserved. Do not modify; read as logic 0.
0
-
Table 184. Reset external status registers y (RESET_EXT_STATy, address 0x4005 34yy) bit
description
Bit
Symbol
Description
Reset
value
Access
2:0
-
Reserved. Do not modify; read as logic 0.
0
-
3
MASTER_RESET
Reset activated by MASTER_RST output.
Write 0 to clear.
0 = Reset not activated
1 = Reset activated
1
R/W
31:4
-
Reserved. Do not modify; read as logic 0.
0
-