![Samsung S3C2416 User Manual Download Page 113](http://html.mh-extra.com/html/samsung/s3c2416/s3c2416_user-manual_340824113.webp)
S3C2416X RISC MICROPROCESSOR
SYSTEM
CONTROLLER
2-35
8.6 SYSTEM CONTROLLER STATUS REGISTERS (WKUPSTAT AND RSTSTAT)
Software must know the status of the system controller after wakeup or reset. WKUPSTAT and RSTSTAT
registers store the information.
Register
Address
R/W
Description
Reset Value
RSTSTAT 0x4C00_0068 R
Reset
status register
0x0000_0001
WKUPSTAT 0x4C00_006C R/W
Wake-up status register
0x0000_0000
After S3C2416 is re-set or woken-up, the following two registers store the source of the activation. The value of
RSTSTAT register is cleared by the other reset. If each bit has ‘1’ value, resets or wakeup events are occurred.
The reset priority is as follows: nRESET > WDTRST > SLEEP > DEEP-STOP > SW Reset
RSTSTAT
Bit
Description
Initial Value
RESERVED [31:6]
-
0x0000_000
SWRST
[5]
Reset by software (see SWRST register)
0
DEEP-STOP
[4]
Wakeup from DEEP-STOP (ARM Reset only)
0
SLEEP [3]
Wakeup from RTC_TICK, RTC_ALARM, EINT and battery fault
from power-down mode. (Reset by waking-up from SLEEP mode)
0
WDTRST
[2]
Reset by Watch-dog reset
0
RESERVED [1]
-
0
EXTRST
[0]
External reset by nRESET pin
1
WKUPSTAT register indicates that which source was used for changing system state into normal mode from idle,
stop and sleep mode. The value of WKUPSTAT register can be cleared by writing ‘1’.
WKUPSTAT
Bit
Description
Initial Value
RESERVED [31:6]
-
0x0000_000
BATF [5]
Waked-up by BATT_FLT assertion. This field is valid when
PWRCFG[1:0] = 2’b01
0
RTC_TICK
[4]
Waked-up by RTC tick
0
RESERVED [3:2]
-
0x0
RTC
[1]
Waked-up by RTC alarm
0
EINT
[0]
Waked-up by external interrupts
0
Summary of Contents for S3C2416
Page 122: ...BUS MATRIX EBI S3C2416X RISC MICROPROCESSOR 3 4 NOTES ...
Page 204: ...DMA CONTROLLER S3C2416X RISC MICROPROCESSOR 8 18 NOTES ...
Page 284: ...WATCHDOG TIMER S3C2416X RISC MICROPROCESSOR 11 6 NOTES ...
Page 320: ...REAL TIME CLOCK S3C2416X RISC MICROPROCESSOR 13 16 NOTES ...
Page 344: ...UART S3C2416X RISC MICROPROCESSOR 14 24 NOTES ...
Page 380: ...USB2 0 DEVICE S3C2416X RISC MICROPROCESSOR 16 34 NOTES ...
Page 432: ...2D S3C2416X RISC MICROPROCESSOR 18 38 NOTES ...
Page 446: ...HS_SPI CONTROLLER S3C2416X RISC MICROPROCESSOR 19 14 NOTES ...
Page 604: ...S3C2416X RISC MICROPROCESSOR S3C2416X RISC MICROPROCESSOR 23 22 NOTES ...
Page 638: ...PCM AUDIO INTERFACE S3C2416X RISC MICROPROCESSOR 25 18 NOTES ...
Page 670: ...ELECTRICAL DATA S3C2416X RISC MICROPROCESSOR 26 32 NOTES ...