English
Language : 

SM8521 Datasheet, PDF (32/56 Pages) Sharp Electrionic Components – 8-Bit Single-Chip Microcomputer
CLOCK TIMER REGISTER
CLKT (Clock timer register)
Bit 7
0
Bit 7 : Run/reset
BIT
0 Counter reset
1 Run
STATUS
Bit 6 : Minute/second
BIT
0 1 second
1 1 minute
STATUS
Bits 5 to 0 : Value of counter (read only)
Watchdog Timer Register (WDT)
PRS2 (Prescaler 2)
Prescaler PRS2 generates the count clock to
watchdog timer counter WDT.
The following conditions are to clear all bits of
prescaler PRS2.
• When hardware reset.
• When watchdog timer counter WDT stopped.
• When counter WDT is cleared by writing ‘1’ to
the bit WDTCR (bit 3 : WDTC).
PRS2 fc2
1/2 1/2 1/2 1/2 1/2
fc11 fc12 fc13 fc14 fc15
Prescaler PRS2 divides the frequency derived from
input clock fc10 (204.8 µs : main-clock = 10 MHz),
then fc11-fc15 are output.
WDT (Watchdog timer counter register)
Watchdog timer counter WDT is an 8-bit read only
register which counts up from input clock.
SM8521
WDTC (Watchdog timer control register)
Watchdog timer control WDTC is an 8-bit read only
register which sets watchdog timer to start/stop,
counter clear designation, and selects the count
clock.
Bit 7
WDTST WDTRN -
0
- WDTCR WCNT2 WCNT1 WCNT0
Bit 7 : Watchdog timer start/stop bit (WDTST)
BIT
CONTENT
0 Timer stop [WDT is cleared.]
1 Timer start
Bit 6 : Operation select while watchdog timer overflow
(WDTRN)
BIT
CONTENT
0 Hardware reset
1 Non-maskable interrupt
Bits 5 to 4 : set ‘0’.
Bit 3 : Counter clear bit (WDTCR) [write only bit]
BIT
CONTENT
0 No clear
1 Only in writing operation, WDT is cleared.
Bits 2 to 0 : Watchdog timer counter clock selection
bits (WCNT2-WCNT0)
BIT
COUNT CLOCK
000
fc12 (819 µs∗1)
001
fc13 (1.639 ms∗1)
010
fc14 (3.278 ms∗1)
011
fc15 (6.578 ms∗1)
100
fx5 (0.976 ms∗2)
101
fx6 (1.95 ms∗2)
110
fx7 (3.90 ms∗2)
111
fx8 (7.81 ms∗2)
∗1 The value in (
10 MHz.
∗2 The value in (
32.768 kHz.
) is the period when main-clock is
) is the period when sub-clock is
- 32 -