R01UH0092EJ0110 Rev.1.10
Page 47 of 807
Jul 31, 2012
M16C/64C Group
6. Resets
6.2.2
Reset Source Determine Register (RSTFR)
CWR (Cold/warm start discrimination flag) (b0)
The CWR bit also changes when the either of following condition is met:
Condition to become 0:
•
Power-on
Condition to become 1:
•
Setting this bit to 1
OSDR (Oscillator stop detect reset detect flag) (b6)
The OSDR bit also changes when either of following condition is met:
Conditions to become 0:
•
Power-on
•
Setting this bit to 0
This bit will not become 1 even when written to 1.
Table 6.5
RSTFR Register Reset Value
Reset
Bits in the RSTFR Register
OSDR
LVD2R
LVD1R
WDR
SWR
HWR
CWR
Hardware reset
No change
0
0
0
0
1
No change
Power-on reset
0
0
0
0
0
0
0
Voltage monitor 0 reset
0
0
0
0
0
0
0
Voltage monitor 1 reset
0
0
1
0
0
0
No change
Voltage monitor 2 reset
0
1
0
0
0
0
No change
Oscillator stop detect reset
1
0
0
0
0
0
No change
Watchdog timer reset
0
0
0
1
0
0
No change
Software reset
0
0
0
0
1
0
No change
b7
0
b6 b5 b4
b1
b2
b3
Reset Source Determine Register
Symbol
RSTFR
Address
0018h
Bit Symbol
Bit Name
RW
CWR
RW
b0
Function
HWR
SWR
Software reset detection flag
0 : Not detected
1 : Detected
RO
RO
Cold start/warm start
discrimination flag
0 : Cold start
1 : Warm start
Hardware reset detection flag
0 : Not detected
1 : Detected
WDR
Watchdog timer reset detect
flag
0 : Not detected
1 : Detected
RO
LVD1R
Voltage monitor 1 reset
detection flag
0 : Not detected
1 : Detected
RO
LVD2R
Voltage monitor 2 reset
detection flag
0 : Not detected
1 : Detected
RO
OSDR
Oscillator stop detect reset
detect flag
0 : Not detected
1 : Detected
RW
—
(b7)
Reserved bit
If necessary, set to 0. When read, the
read value is undefined.
RW
Reset Value
See Table 6.5.
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...