aPPenDiX a liST OF i/O ReGiSTeRS
aP-a-12
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
Stopwatch
Timer BCD
Counter Register
(SWT_BCnT)
0x5021
(8 bits)
D7–4
BCD10[3:0] 1/10 sec. BCD counter value
0 to 9
0
R
D3–0
BCD100[3:0] 1/100 sec. BCD counter value
0 to 9
0
R
Stopwatch
Timer interrupt
Mask Register
(SWT_iMSK)
0x5022
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
Sie1
1 Hz interrupt enable
1 Enable
0 Disable
0
R/W
D1
Sie10
10 Hz interrupt enable
1 Enable
0 Disable
0
R/W
D0
Sie100
100 Hz interrupt enable
1 Enable
0 Disable
0
R/W
Stopwatch
Timer interrupt
Flag Register
(SWT_iFlG)
0x5023
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
SiF1
1 Hz interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D1
SiF10
10 Hz interrupt flag
0
R/W
D0
SiF100
100 Hz interrupt flag
0
R/W
0x5040–0x5041
Watchdog Timer
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
Watchdog
Timer Control
Register
(WDT_CTl)
0x5040
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
WDTRST
Watchdog timer reset
1 Reset
0 Ignored
0
W
D3–0 WDTRun[3:0] Watchdog timer run/stop control
Other than 1010
Run
1010
Stop
1010 R/W
Watchdog
Timer Status
Register
(WDT_ST)
0x5041
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
WDTMD
NMI/Reset mode select
1 Reset
0 NMI
0
R/W
D0
WDTST
NMI status
1 NMI occurred 0 Not occurred
0
R
0x5060–0x5081
Clock Generator
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
Clock Source
Select Register
(OSC_SRC)
0x5060
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
hSClKSel High-speed clock select
1 OSC3
0 IOSC
0
R/W
D0
ClKSRC
System clock source select
1 OSC1
0 HSCLK
0
R/W
Oscillation
Control Register
(OSC_CTl)
0x5061
(8 bits)
D7–6 iOSCWT[1:0] IOSC wait cycle select
IOSCWT[1:0]
Wait cycle
0x0 R/W
0x3
0x2
0x1
0x0
8 cycles
16 cycles
32 cycles
64 cycles
D5–4 OSC3WT[1:0] OSC3 wait cycle select
OSC3WT[1:0]
Wait cycle
0x0 R/W
0x3
0x2
0x1
0x0
128 cycles
256 cycles
512 cycles
1024 cycles
D3
–
reserved
–
–
–
0 when being read.
D2
iOSCen
IOSC enable
1 Enable
0 Disable
1
R/W
D1
OSC1en
OSC1 enable
1 Enable
0 Disable
0
R/W
D0
OSC3en
OSC3 enable
1 Enable
0 Disable
0
R/W
noise Filter
enable Register
(OSC_nFen)
0x5062
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
RSTFe
Reset noise filter enable
1 Enable
0 Disable
1
R/W
D0
nMiFe
NMI noise filter enable
1 Enable
0 Disable
0
R/W
FOuT Control
Register
(OSC_FOuT)
0x5064
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3–2 FOuThD
[1:0]
FOUTH clock division ratio select
FOUTHD[1:0]
Division ratio
0x0 R/W Source clock =
HSCLK
0x3
0x2
0x1
0x0
reserved
1/4
1/2
1/1
D1
FOuThe
FOUTH output enable
1 Enable
0 Disable
0
R/W
D0
FOuT1e
FOUT1 output enable
1 Enable
0 Disable
0
R/W
PClK Control
Register
(ClG_PClK)
0x5080
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1–0 PCKen[1:0] PCLK enable
PCKEN[1:0]
PCLK supply
0x3 R/W
0x3
0x2
0x1
0x0
Enable
Not allowed
Not allowed
Disable
CClK Control
Register
(ClG_CClK)
0x5081
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1–0 CClKGR[1:0] CCLK clock gear ratio select
CCLKGR[1:0]
Gear ratio
0x0 R/W
0x3
0x2
0x1
0x0
1/8
1/4
1/2
1/1