常见问答

FAQ

How to check the reset flag?  Issue Date:2019-10-01

System Reset Status Register (SYS_RSTSTS) provides specific information for software to identify the happened reset source of chip.

There are two ways for users to check the reset flag:

 1. Call specific API “SYS_GetResetSrc()” in the project.

266-1

2. Use System Viewer to check “SYS_RSTSTS” register value in Debug Mode.

266-2

Note: In order to identify reset source, the SYS_RSTSTS should be cleared to 0 before the next reset happens.

Products: Microcontrollers ,8bit 8051 MCUs ,Arm Cortex-M0 MCUs ,Arm Cortex-M23 MCUs ,Arm Cortex-M4 MCUs
Applications:
Function: Peripherals,System Operation,Reset