EasyManua.ls Logo

Cypress FM4 Series - Reset Factor Register (RST_STR: Reset Status Register)

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 4: Resets
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 173
4.1 Reset Factor Register (RST_STR: ReSeT STatus Register)
The Reset Factor Register (RST_STR) shows the factors of resets that have just occurred. All bits of the
RST_STR are initialized by a power-on reset, a low-voltage detection reset or a deep standby reset. It is
not initialized by any other reset. All bits of the RST_STR are cleared to “0” by reading this register.
After initializing, until it has been read, this register stores all reset factors that have been generated.
bit
15
14
13
12
11
10
9
8
Field
Reserved
SRST
Attribute
-
R
Initial value
-
0
bit
7
6
5
4
3
2
1
0
Field
FCSR
CSVR
HWDT
SWDT
Reserved
INITX
PONR
Attribute
R
R
R
R
-
R
R
Initial value
0
0
0
0
-
0
1
Note: The initial value is the value upon power-on.
[bit15:9] Reserved: Reserved bits
The read value is undefined.
These bits have no effect when written.
[bit8] SRST: Software reset flag
Indicates a reset that is generated by writing "1" to Cortex-M4 internal reset control register
(SYSRESETREQ bit).
When a software reset is generated, SRST is enabled (SRST = 1).
bit
Description
0
A software reset has not been issued.
1
A software reset has been issued.
[bit7] FCSR: Flag for anomalous frequency detection reset
Indicates a reset when an anomalous frequency is detected in the main oscillation.
When the frequency of the main oscillation is outside of a given setting, a reset is issued and FCSR is
enabled (FCSR = 1).
bit
Description
0
An anomalous frequency detection reset has not been issued.
1
An anomalous frequency detection reset has been issued.
[bit6] CSVR: Clock failure detection reset flag
Indicates a reset when a failure is detected in the main or sub oscillation.
If a stop is detected, a reset is issued and CSVR is enabled (CSVR = 1).
bit
Description
0
A clock failure detection reset has not been issued.
1
A clock failure detection reset has been issued.
Note: Please refer to Chapter "Clock supervisor" for the method of judging whether the main oscillation or
the sub oscillation broke down.
[bit5] HWDT: Hardware watchdog reset flag

Table of Contents

Related product manuals