Implementation
startScuResetDetection()
›
This function executes the evaluateReset() function, which provides information
about the last occurred reset. The returned value is a data structure comprising
elements such as resetType and resetTrigger.
›
The resetType specifies the type of the last reset (e.g. a Cold Power-On Reset,
System Reset, Application Reset or Warm Power-On Reset).
›
The resetTrigger specifies the source of the last reset. For instance, the source
can be a Power-On Reset (pressing PORST-Button), a SW triggered reset or a
reset triggered by debugger or any voltage supervision monitor.
›
Furthermore, the function evaluateReset() clears the Cold Power-On sticky bits
using the function clearColdPowerOnResetBits(). Those bits are not cleared
automatically and must be explicitly cleared by the application.
›
The local variable swReset can be used to specify the type of SW-Reset initiated
by the function triggerSWReset().
2019-10-17
Copyright © Infineon Technologies AG 2019. All rights reserved.
5
Need help?
Do you have a question about the SCU Reset Detection 1 and is the answer not in the manual?
Questions and answers