![LAPIS Semiconductor ML610472 Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/lapis-semiconductor/ml610472/ml610472_user-manual_3645865046.webp)
ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 3 Reset Function
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
⎯
3.2.2 Reset Status Register (RSTAT)
Address: 0F001H
Access: R/W
Access size: 8-bit
Initial value: Undefined
7 6 5 4 3 2 1 0
RSTAT
⎯
⎯
⎯
⎯
⎯
WDTR
⎯
POR
R/W R/W R/W R/W R/W R/W R/W R/W R/W
Initial value
0 0 0 0 0 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 in advance and initialize
the contents of RSTAT to “00H”.
[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 WSDTR 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
Note:
No flag is provided that indicates the occurrence of reset by the RESET_N pin.
Содержание ML610472
Страница 12: ...Chapter 1 Overview...
Страница 38: ...Chapter 2 CPU and Memory Space...
Страница 44: ...Chapter 3 Reset Function...
Страница 48: ...Chapter 4 MCU Control Function...
Страница 62: ...Chapter 5 Interrupts...
Страница 82: ...Chapter 6 Clock Generation Circuit...
Страница 94: ...Chapter 7 Time Base Counter...
Страница 105: ...Chapter 8 Capture...
Страница 114: ...Chapter 9 Timer...
Страница 133: ...Chapter 10 Watchdog Timer...
Страница 141: ...Chapter 11 UART...
Страница 164: ...Chapter 12 Port 0...
Страница 173: ...Chapter 13 Port 2...
Страница 180: ...Chapter 14 Port 3...
Страница 188: ...Chapter 15 Port 4...
Страница 199: ...Chapter 16 Port 6...
Страница 205: ...Chapter 17 RC Oscillation Type A D Converter...
Страница 225: ...Chapter 18 LCD Drivers...
Страница 243: ...Chapter 19 Power Supply Circuit...
Страница 245: ...Chapter 20 uEASE Flash Writer System...
Страница 249: ...Chapter 21 Software Development...
Страница 258: ...Appendixes...
Страница 280: ...Revision History...