28 USB FUNCTION CONTROLLER (USB)
28-32
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Set to 1 when STALL is replied in the IN transaction, when an error occurred in the packet or when the
handshake is failed in Time-Out.
D0
OUT_TranErr
Shows a cause of interrupt directly.
Set to 1 when STALL is replied in the OUT transaction or when an error occurred in the packet.
EPdIntStat (EPd Interrupt Status)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPdIntStat
(EPd interrupt
status)
0x300c0b
(8 bits)
D7
–
–
–
–
0 when being read.
D6
OUT_ShortACK
1 Out short packet ACK
0 None
0
R(W)
D5
IN_TranACK
1 In transaction ACK
0 None
0
R(W)
D4
OUT_TranACK
1 Out transaction ACK
0 None
0
R(W)
D3
IN_TranNAK
1 In transaction NAK
0 None
0
R(W)
D2
OUT_TranNAK
1 Out transaction NAK
0 None
0
R(W)
D1
IN_TranErr
1 In transaction error
0 None
0
R(W)
D0
OUT_TranErr
1 Out transaction error
0 None
0
R(W)
This register displays the interrupt status of the endpoint EPd.
D7
Reserved
D6
OUT_ShortACK
Shows a cause of interrupt directly.
Set to 1 when a short packet is received and ACK is replied in the OUT transaction, OUT_TranACK
and this bits are set to 1 at the same time.
D5
IN_TranACK
Shows a cause of interrupt directly.
Set to 1 when ACK is received in the IN transaction.
D4
OUT_TranACK
Shows a cause of interrupt directly.
Set to 1 when ACK is replied in the OUT transaction.
D3
IN_TranNAK
Shows a cause of interrupt directly.
Set to 1 when NAK is replied in the IN transaction.
D2
OUT_TranNAK
Shows a cause of interrupt directly.
Set to 1 when NAK is replied in the OUT transaction.
D1
IN_TranErr
Shows a cause of interrupt directly.
Set to 1 when STALL is replied in the IN transaction, when an error occurred in the packet or when the
handshake is failed in Time-Out.
D0
OUT_TranErr
Shows a cause of interrupt directly.
Set to 1 when STALL is replied in the OUT transaction or when an error occurred in the packet.
MainIntEnb (Main Interrupt Enable)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
MainIntEnb
(Main interrupt
enable)
0x300c10
(8 bits)
D7
EnSIE_IntStat
1 Enable
0 Disable
0
R/W
D6
EnEPrIntStat
0
R/W
D5
EnDMA_IntStat
0
R/W
D4
EnFIFO_IntStat
0
R/W
D3–2 –
–
–
–
0 when being read.
D1
EnEP0IntStat
1 Enable
0 Disable
0
R/W
D0
EnRcvEP0SETUP
0
R/W
This register enables/disables assertion of the interrupt signal (#INT) with the cause of interrupt of the MainIntStat
register. Setting the corresponding bit to 1 enables interrupt. EnSIE_IntStat bit is valid during snooze as well.