aPPenDiX a liST OF i/O ReGiSTeRS
aP-a-26
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
RFC interrupt
Mask Register
(RFC_iMSK)
0x53ac
(16 bits)
D15–5 –
reserved
–
–
–
0 when being read.
D4
OVTCie
TC overflow error interrupt enable
1 Enable
0 Disable
0
R/W
D3
OVMCie
MC overflow error interrupt enable 1 Enable
0 Disable
0
R/W
D2
eSenBie
Sensor B oscillation completion
interrupt enable
1 Enable
0 Disable
0
R/W
D1
eSenaie
Sensor A oscillation completion
interrupt enable
1 Enable
0 Disable
0
R/W
D0
eReFie
Reference oscillation completion
interrupt enable
1 Enable
0 Disable
0
R/W
RFC interrupt
Flag Register
(RFC_iFlG)
0x53ae
(16 bits)
D15–5 –
reserved
–
–
–
0 when being read.
D4
OVTCiF
TC overflow error interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D3
OVMCiF
MC overflow error interrupt flag
0
R/W
D2
eSenBiF
Sensor B oscillation completion
interrupt flag
0
R/W
D1
eSenaiF
Sensor A oscillation completion
interrupt flag
0
R/W
D0
eReFiF
Reference oscillation completion
interrupt flag
0
R/W
0x5068, 0x5400–0x540c
16-bit PWM Timer (T16a2) Ch.0 (S1C17624/604)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
T16a Clock
Control Register
Ch.0
(T16a_ClK0)
0x5068
(8 bits)
D7–4 ClKDiV
[3:0]
Clock division ratio select
CLKDIV[3:0]
Division ratio
0x0 R/W
OSC3 or
IOSC
OSC1
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
–
1/16384
1/8192
1/4096
1/2048
1/1024
1/512
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
–
–
–
–
–
–
–
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
D3–2 ClKSRC
[1:0]
Clock source select
CLKSRC[1:0]
Clock source
0x0 R/W
0x3
0x2
0x1
0x0
External clock
OSC3
OSC1
IOSC
D1
MulTiMD
Multi-comparator/capture mode
select
1 Multi
0 Normal
0
R/W
D0
ClKen
Count clock enable
1 Enable
0 Disable
0
R/W
T16a Counter
Ch.0 Control
Register
(T16a_CTl0)
0x5400
(16 bits)
D15–7 –
reserved
–
–
–
0 when being read.
D6
hCM
Half clock mode enable
1 Enable
0 Disable
0
R/W
D5–4 CCaBCnT
[1:0]
Counter select
CCABCNT[1:0] Counter Ch.
0x0 R/W
0x3, 0x2
0x1
0x0
reserved
Ch.1
Ch.0
D3
CBuFen
Compare buffer enable
1 Enable
0 Disable
0
R/W
D2
TRMD
Count mode select
1 One-shot
0 Repeat
0
R/W
D1
PReSeT
Counter reset
1 Reset
0 Ignored
0
W 0 when being read.
D0
PRun
Counter run/stop control
1 Run
0 Stop
0
R/W
T16a Counter
Ch.0 Data
Register
(T16a_TC0)
0x5402
(16 bits)
D15–0 T16aTC
[15:0]
Counter data
T16ATC15 = MSB
T16ATC0 = LSB
0x0 to 0xffff
0x0
R