16 I
2
C (I2C)
S1C31D50/D51 TECHNICAL MANUAL
Seiko Epson Corporation
16-23
(Rev. 2.00)
The following shows the correspondence between the bit and interrupt:
I2C_
n
INTF.BYTEENDIF bit: End of transfer interrupt
I2C_
n
INTF.GCIF bit:
General call address reception interrupt
I2C_
n
INTF.NACKIF bit:
NACK reception interrupt
I2C_
n
INTF.STOPIF bit:
STOP condition interrupt
I2C_
n
INTF.STARTIF bit:
START condition interrupt
I2C_
n
INTF.ERRIF bit:
Error detection interrupt
I2C_
n
INTF.RBFIF bit:
Receive buffer full interrupt
I2C_
n
INTF.TBEIF bit:
Transmit buffer empty interrupt
I2C Ch.
n
Interrupt Enable Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
I2C_nINTE
15–8 –
0x00
–
R
–
7
BYTEENDIE
0
H0
R/W
6
GCIE
0
H0
R/W
5
NACKIE
0
H0
R/W
4
STOPIE
0
H0
R/W
3
STARTIE
0
H0
R/W
2
ERRIE
0
H0
R/W
1
RBFIE
0
H0
R/W
0
TBEIE
0
H0
R/W
Bits 15–8 Reserved
Bit 7
BYTEENDIE
Bit 6
GCIE
Bit 5
NACKIE
Bit 4
STOPIE
Bit 3
STARTIE
Bit 2
ERRIE
Bit 1
RBFIE
Bit 0
TBEIE
These bits enable I2C interrupts.
1 (R/W): Enable interrupts
0 (R/W): Disable interrupts
The following shows the correspondence between the bit and interrupt:
I2C_
n
INTE.BYTEENDIE bit: End of transfer interrupt
I2C_
n
INTE.GCIE bit:
General call address reception interrupt
I2C_
n
INTE.NACKIE bit:
NACK reception interrupt
I2C_
n
INTE.STOPIE bit:
STOP condition interrupt
I2C_
n
INTE.STARTIE bit:
START condition interrupt
I2C_
n
INTE.ERRIE bit:
Error detection interrupt
I2C_
n
INTE.RBFIE bit:
Receive buffer full interrupt
I2C_
n
INTE.TBEIE bit:
Transmit buffer empty interrupt