ML610Q111/ML610Q112 User’s Manual
Chapter 3 Reset Function
FEUL610Q111
3-2
3.2 Description of Registers
3.2.1
List of Registers
Address
Name
Symbol (Byte)
Symbol (Word)
R/W
Size
Initial value
0F001H
Reset status register
RSTAT
R/W
8
Undefined
3.2.2
Reset Status Register (RSTAT)
Address: 0F001H
Access: R/W
Access size: 8 bits
Initial value: Undefined
7
6
5
4
3
2
1
0
RSTAT
―
―
VLSR
―
―
WDTR
―
POR
R/W
―
―
R/W
―
―
R/W
―
R/W
Initial value
0
0
0/1
0
0
0/1
0
0/1
RSTAT is a special function register (SFR) that indicates the causes by which the reset is generated.
At the occurrence of reset, the contents of RSTAT are not initialized, while the bit indicating the cause of the reset is set
to ”1”. When checking the reset cause using this function, perform write operation to RSTAT after read RSTAT and
initialize the contents of RSTAT to “00H” for checking the next reset cause.
[Description of Bits]
•
POR
(bit 0)
The POR bit is a flag that indicates that the power-on reset is generated. This bit is set to “1” when powered on.
POR
Description
0
Power-on reset not generated
1
Power-on reset generated
•
WDTR
(bit 2)
The WDTR is a flag that indicates that the watchdog timer reset is generated. This bit is set to “1” when the reset by
overflow of the watchdog timer is generated.
WDTR
Description
0
Watchdog timer reset not occurred
1
Watchdog timer reset occurred
•
VLSR
(bit 5)
The VLSR is a flag that indicates that the voltage level supervisor (VLS) reset is generated. This bit is set to “1” when the
reset by the VLS is generated.
VLSR
Description
0
Voltage level supervisor (VLS) reset not occurred
1
Voltage level supervisor (VLS) reset occurred
Note
:
- Even if when power-on reset does not occur at the time of power-on, POR bit may become "1". Therefore, when you
distinguish power-on, we recommend using the RAM. When the power down occurs, the contents of the RAM become
random. Due to this, it can distinguish a power-on supply by confirming the change of the content of the RAM which was
written in beforehand.
- No flag is provided that indicates the occurrence of reset by the RESET_N pin.
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...