19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
19-40
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
8.3 Trigger List in I
Table 19.
2
C Master Mode
IMTGMOD[2:0]
Trigger
0x7
Reserved
0x6
ACK/NAK reception
0x5
NAK transmission
0x4
ACK transmission
0x3
Data reception
0x2
Data transmission
0x1
Stop condition
0x0
Start condition
(Default: 0x0)
USIL I
2
C Master Mode Interrupt Enable Register (USIL_IMIE)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL I
2
C Master
Mode Interrupt
Enable Register
(USIL_IMIE)
0x300661
(8 bits)
D7–2 –
reserved
–
–
–
0 when being read.
D1
IMEIE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D0
IMIE
Operation completion int. enable
1 Enable
0 Disable
0
R/W
Note: This register is effective only in I
2
C master mode. Configure USIL to I
2
C master mode before this
register can be used.
D[7:2]
Reserved
D1
IMEIE: Receive Error Interrupt Enable Bit
Enables interrupt requests to the ITC when an overrun error occurs.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Set this bit to 1 to process overrun errors using interrupts.
D0
IMIE: Operation Completion Interrupt Enable Bit
Enables interrupt requests to the ITC when the triggered operation has completed.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Set this bit to 1 to confirm whether the triggered operation has completed or not using interrupts.
USIL I
2
C Master Mode Interrupt Flag Register (USIL_IMIF)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL I
2
C Master
Mode Interrupt
Flag Register
(USIL_IMIF)
0x300662
(8 bits)
D7–6 –
reserved
–
–
–
0 when being read.
D5
IMBSY
I
2
C master busy flag
1 Busy
0 Standby
0
R
D4–2 IMSTA[2:0] I
2
C master status
IMSTA[2:0]
Status
0x0
R
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
NAK received
ACK received
ACK/NAK sent
End of Rx data
End of Tx data
Stop generated
Start generated
D1
IMEIF
Overrun error flag
1 Error
0 Normal
0
R/W Reset by writing 1.
D0
IMIF
Operation completion flag
1 Completed 0 Not completed
0
R/W
Note: This register is effective only in I
2
C master mode. Configure USIL to I
2
C master mode before this
register can be used.
D[7:6]
Reserved
D5
IMBSY: I
2
C Master Busy Flag Bit
Indicates the I
2
C master operation status.
1 (R):
Busy
0 (R):
Standby (default)