aPPenDiX a liST OF i/O ReGiSTeRS
aP-a-6
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
uaRT Ch.1
Control Register
(uaRT_CTl1)
0x4124
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6
Reien
Receive error int. enable
1 Enable
0 Disable
0
R/W
D5
Rien
Receive buffer full int. enable
1 Enable
0 Disable
0
R/W
D4
Tien
Transmit buffer empty int. enable
1 Enable
0 Disable
0
R/W
D3–2 –
reserved
–
–
–
0 when being read.
D1
RBFi
Receive buffer full int. condition setup 1 2 bytes
0 1 byte
0
R/W
D0
RXen
UART enable
1 Enable
0 Disable
0
R/W
uaRT Ch.1
expansion
Register
(uaRT_eXP1)
0x4125
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6–4 iRClK[2:0] IrDA receive detection clock
division ratio select
IRCLK[2:0]
Division ratio
0x0 R/W Source clock = PCLK
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
D3–1 –
reserved
–
–
–
0 when being read.
D0
iRMD
IrDA mode select
1 On
0 Off
0
R/W
0x4200–0x4208
Fine Mode 8-bit Timer Ch.0
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
T8F Ch.0
Count Clock
Select Register
(T8F_ClK0)
0x4200
(16 bits)
D15–4 –
reserved
–
–
–
0 when being read.
D3–0 DF[3:0]
Count clock division ratio select
DF[3:0]
Division ratio
0x0 R/W Source clock = PCLK
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
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
T8F Ch.0
Reload Data
Register
(T8F_TR0)
0x4202
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7–0 TR[7:0]
Reload data
TR7 = MSB
TR0 = LSB
0x0 to 0xff
0x0 R/W
T8F Ch.0
Counter Data
Register
(T8F_TC0)
0x4204
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7–0 TC[7:0]
Counter data
TC7 = MSB
TC0 = LSB
0x0 to 0xff
0xff
R
T8F Ch.0
Control Register
(T8F_CTl0)
0x4206
(16 bits)
D15–12 –
reserved
–
–
–
0 when being read.
D11–8 TFMD[3:0] Fine mode setup
0x0 to 0xf
0x0 R/W Set a number of times
to insert delay into a
16-underflow period.
D7–5 –
reserved
–
–
–
0 when being read.
D4
TRMD
Count mode select
1 One shot
0 Repeat
0
R/W
D3–2 –
reserved
–
–
–
0 when being read.
D1
PReSeR
Timer reset
1 Reset
0 Ignored
0
W
D0
PRun
Timer run/stop control
1 Run
0 Stop
0
R/W
T8F Ch.0
interrupt
Control Register
(T8F_inT0)
0x4208
(16 bits)
D15–9 –
reserved
–
–
–
0 when being read.
D8
T8Fie
T8F interrupt enable
1 Enable
0 Disable
0
R/W
D7–1 –
reserved
–
–
–
0 when being read.
D0
T8FiF
T8F interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.