aPPenDiX a liST OF i/O ReGiSTeRS
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
aP-a-11
0x4360–0x436c
i
2
C Slave
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
i
2
C Slave
Transmit Data
Register
(i2CS_TRnS)
0x4360
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7–0 SDaTa[7:0] I
2
C slave transmit data
0–0xff
0x0 R/W
i
2
C Slave
Receive Data
Register
(i2CS_ReCV)
0x4362
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7–0 RDaTa[7:0] I
2
C slave receive data
0–0xff
0x0
R
i
2
C Slave
address Setup
Register
(i2CS_SaDRS)
0x4364
(16 bits)
D15–7 –
reserved
–
–
–
0 when being read.
D6–0 SaDRS[6:0] I
2
C slave address
0–0x7f
0x0 R/W
i
2
C Slave
Control Register
(i2CS_CTl)
0x4366
(16 bits)
D15–9 –
reserved
–
–
–
0 when being read.
D8
TBuF_ClR I2CS_TRNS register clear
1 Clear state 0 Normal
0
R/W
D7
i2CSen
I
2
C slave enable
1 Enable
0 Disable
0
R/W
D6
SOFTReSeT Software reset
1 Reset
0 Cancel
0
R/W
D5
naK_anS NAK answer
1 NAK
0 ACK
0
R/W
D4
BFReQ_en Bus free request enable
1 Enable
0 Disable
0
R/W
D3
ClKSTR_en Clock stretch On/Off
1 On
0 Off
0
R/W
D2
nF_en
Noise filter On/Off
1 On
0 Off
0
R/W
D1
aSDeT_en Async.address detection On/Off
1 On
0 Off
0
R/W
D0
COM_MODe I
2
C slave communication mode
1 Active
0 Standby
0
R/W
i
2
C Slave
Status Register
(i2CS_STaT)
0x4368
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7
BSTaT
Bus status transition
1 Changed
0 Unchanged
0
R
D6
–
reserved
–
–
–
0 when being read.
D5
TXuDF
Transmit data underflow
1 Occurred
0 Not occurred
0
R/W Reset by writing 1.
RXOVF
Receive data overflow
D4
BFReQ
Bus free request
1 Occurred
0 Not occurred
0
R/W
D3
DMS
Output data mismatch
1 Error
0 Normal
0
R/W
D2
aSDeT
Async. address detection status
1 Detected
0 Not detected
0
R/W
D1
Da_naK
NAK receive status
1 NAK
0 ACK
0
R/W
D0
Da_STOP
STOP condition detect
1 Detected
0 Not detected
0
R/W
i
2
C Slave
access Status
Register
(i2CS_aSTaT)
0x436a
(16 bits)
D15–5 –
reserved
–
–
–
0 when being read.
D4
RXRDY
Receive data ready
1 Ready
0 Not ready
0
R
D3
TXeMP
Transmit data empty
1 Empty
0 Not empty
0
R
D2
BuSY
I
2
C bus status
1 Busy
0 Free
0
R
D1
SeleCTeD I
2
C slave select status
1 Selected
0 Not selected
0
R
D0
R/W
Read/write direction
1 Output
0 Input
0
R
i
2
C Slave
interrupt Control
Register
(i2CS_iCTl)
0x436c
(16 bits)
D15–3 –
reserved
–
–
–
0 when being read.
D2
BSTaT_ien Bus status interrupt enable
1 Enable
0 Disable
0
R/W
D1
RXRDY_ien Receive interrupt enable
1 Enable
0 Disable
0
R/W
D0
TXeMP_ien Transmit interrupt enable
1 Enable
0 Disable
0
R/W
0x5000–0x5003
Clock Timer
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
Clock Timer
Control Register
(CT_CTl)
0x5000
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
CTRST
Clock timer reset
1 Reset
0 Ignored
0
W
D3–1 –
reserved
–
–
–
D0
CTRun
Clock timer run/stop control
1 Run
0 Stop
0
R/W
Clock Timer
Counter Register
(CT_CnT)
0x5001
(8 bits)
D7–0 CTCnT[7:0] Clock timer counter value
0x0 to 0xff
0
R
Clock Timer
interrupt Mask
Register
(CT_iMSK)
0x5002
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
CTie32
32 Hz interrupt enable
1 Enable
0 Disable
0
R/W
D2
CTie8
8 Hz interrupt enable
1 Enable
0 Disable
0
R/W
D1
CTie2
2 Hz interrupt enable
1 Enable
0 Disable
0
R/W
D0
CTie1
1 Hz interrupt enable
1 Enable
0 Disable
0
R/W
Clock Timer
interrupt Flag
Register
(CT_iFlG)
0x5003
(8 bits)
D7–4 –
reserved
–
–
–
0 when being read.
D3
CTiF32
32 Hz interrupt flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D2
CTiF8
8 Hz interrupt flag
0
R/W
D1
CTiF2
2 Hz interrupt flag
0
R/W
D0
CTiF1
1 Hz interrupt flag
0
R/W
0x5020–0x5023
Stopwatch Timer
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
Stopwatch
Timer Control
Register
(SWT_CTl)
0x5020
(8 bits)
D7–5 –
reserved
–
–
–
0 when being read.
D4
SWTRST
Stopwatch timer reset
1 Reset
0 Ignored
0
W
D3–1 –
reserved
–
–
–
D0
SWTRun
Stopwatch timer run/stop control
1 Run
0 Stop
0
R/W