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.
Содержание ML610Q111
Страница 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Страница 14: ...Chapter 1 Overview ...
Страница 26: ...Chapter 2 CPU and Memory Space ...
Страница 34: ...Chapter 3 Reset Function ...
Страница 38: ...Chapter 4 MCU Control Function ...
Страница 53: ...Chapter 5 Interrupts INTs ...
Страница 81: ...Chapter 6 Clock Generation Circuit ...
Страница 95: ...Chapter 7 Time Base Counter ...
Страница 103: ...Chapter 8 Timers ...
Страница 145: ...Chapter 9 Watchdog Timer ...
Страница 153: ...Chapter 10 PWM ...
Страница 199: ...Chapter 11 Synchronous Serial Port ...
Страница 212: ...Chapter 12 UART ...
Страница 240: ...Chapter 13 I2 C Bus Interface Master ...
Страница 254: ...Chapter 14 I2 C Bus Interface Slave ...
Страница 269: ...Chapter 15 Port A ...
Страница 279: ...Chapter 16 Port B ...
Страница 291: ...Chapter 17 Port C ...
Страница 303: ...Chapter 18 Port D ...
Страница 312: ...Chapter 19 Port AB Interrupts ...
Страница 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Страница 335: ...Chapter 21 Voltage Level Supervisor ...
Страница 342: ...Chapter 22 Analog Comparator ...
Страница 353: ...Chapter 23 Data Flash Memory ...
Страница 373: ...Chapter 24 On chip Debug ...
Страница 375: ...Appendixes ...
Страница 393: ...Appendix E ...
Страница 398: ...Revision History ...