![Infineon Technologies XC2200 User Manual Download Page 310](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439310.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
System Control Unit (SCU)
User’s Manual
6-50
V2.1, 2008-08
SCU, V1.13
Functional / User Reset
•
Debug Reset
This reset leads to a defined state of the complete debug system.
•
Internal Application Reset
This reset leads to a defined state of the complete application system with the
following parts: all peripherals (except the RTC), the CPU and partially the SCU and
the flash memory.
•
Application Reset
This reset leads to a defined state of the complete application system with the
following parts: all peripherals (except the Ports and the RTC), the CPU and partially
the SCU and the flash memory.
After a reset has been executed, the Reset Status registers RSTSTATx indicate the
latest reset that has occured.
Note: After a Power Reset for domain DMP_1 register
is not cleared.
Instead it holds the contents it had before the last reset.
To identify the type and the trigger of the latest reset registers RSTSTATx and
may be evaluated according to the following table. The latest reset that has
occured is always the reset of the highest type. If two reset triggers of the same type are
indicated, this means that the two triggers have been active at the same time. If two or
more reset triggers of a different type are reported, always the reset of the highest type
is the latest one.
Table 6-1
Identification of a reset
Type of Reset
(in hierarchical order, highest on
top)
Identification
Power-on Reset
SWDCON1.PON = 1
B
RSTSTAT1.STM = 11
B
RSTSTAT1.ST1 = 11
B
Further action: clear PON bit to be able to identify
a Power Reset for DMP_M and DMP_1 power
domains.
Power Reset for DMP_M and
DMP_1 power domains
SWDCON1.PON = 0
B
(unchanged after clearing)
RSTSTAT1.STM = 11
B
RSTSTAT1.ST1 = 11
B
Power Reset for DMP_1 power
domains
SWDCON1.PON = 0
B
(unchanged after clearing)
RSTSTAT1.STM = 00
B
RSTSTAT1.ST1 = 11
B
Further action: Check the ESR or WUT wake-up
source in DMPMIT.