21 i
2
C SlaVe (i2CS)
21-16
Seiko epson Corporation
S1C17624/604/622/602/621 TeChniCal Manual
D0
R/W: Read/Write Direction Bit
Represents the transfer direction bit value.
1 (R):
Output (master read operation)
0 (R):
Input (master write operation) (default)
The transfer direction bit value that has been received with the slave address is set to R/W. Use R/W to
select the transmit- or receive-handling.
i
2
C Slave interrupt Control Register (i2CS_iCTl)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
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
D[15:3] Reserved
D2
BSTaT_ien: Bus Status interrupt enable Bit
Enables or disables the bus status interrupt.
1 (R/W): Enabled
0 (R/W): Disabled (default)
When BSTAT_IEN is set to 1, I
2
C bus status interrupt requests to the ITC are enabled. A bus status in-
terrupt request occurs when BSTAT/I2CS_STAT register is set to 1. (See description of BSTAT.)
When BSTAT_IEN is set to 0, a bus status interrupt will not be generated.
D1
RXRDY_ien: Receive interrupt enable Bit
Enables or disables the I2CS receive interrupt.
1 (R/W): Enabled
0 (R/W): Disabled (default)
When RXRDY_IEN is set to 1, I2CS receive interrupt requests to the ITC are enabled. A receive inter-
rupt request occurs when the data received in the shift register is loaded to the I2CS_RECV register
(receive operation completed). When RXRDY_IEN is set to 0, a receive interrupt will not be generated.
D0
TXeMP_ien: Transmit interrupt enable Bit
Enables or disables the I2CS transmit interrupt.
1 (R/W): Enabled
0 (R/W): Disabled (default)
When TXEMP_IEN is set to 1, I2CS transmit interrupt requests to the ITC are enabled. A transmit in-
terrupt request occurs when the data written to the I2CS_TRNS register is transferred to the shift regis-
ter. When TXEMP_IEN is set to 0, a transmit interrupt will not be generated.