28 USB FUNCTION CONTROLLER (USB)
28-50
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
D6
ISO_CRCmode
According to USB spec, a packet must be discarded when CRC error occurs in isochronous transaction.
When this bit is set, a packet with CRC error is not discarded. This bit is valid when ISO bit (D7) is set.
D[5:0]
Reserved
EPdMaxSize_H (EPd Max Packet Size HIGH)
EPdMaxSize_L (EPd Max Packet Size LOW)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPdMaxSize_H
(EPd max
packet size
high)
0x300c5c
(8 bits)
D7–2 –
–
–
–
0 when being read.
D1–0 EPdMaxSize[9:8]
Endpoint EPd max packet size
0x0 R/W
EPdMaxSize_L
(EPd max
packet size
low)
0x300c5d
(8 bits)
D7–0 EPdMaxSize[7:0]
Endpoint EPd max packet size
0x0 R/W
EPdMaxSize[9:0]
This register sets the MaxPacketSize of the endpoint EPd.
When using this endpoint for the bulk transfer, 8, 16, 32, or 64 bytes should be set.
When using this endpoint for the interrupt transfer, up to 64 bytes can be set.
If the area of the endpoint EPd is smaller than specified here, the macro does not operate normally.
EPdConfig_0 (EPd Configuration 0)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPdConfig_0
(EPd
configuration 0)
0x300c5e
(8 bits)
D7
INxOUT
1 In
0 Out
0
R/W
D6
ToggleMode
1 Always toggle
0 Normal toggle
0
R/W
D5
EnEndPoint
1 Enable endpoint
0 Disable endpoint
0
R/W
D4
–
–
–
–
0 when being read.
D3–0 EndPointNumber
[3:0]
Endpoint number
(0x1 to 0xf)
0x0 R/W
This register sets up the endpoint EPd.
Perform the setup so that combination of the EndpointNumber and the INxOUT does not overlap with those of
other endpoints.
D7
INxOUT
Sets the transfer direction of the endpoint.
D6
ToggleMode
Sets the operation mode of the toggle sequence bit. (Only for the IN transaction)
Normal toggle
- Perform the toggle only when the transaction ends normally.
Always toggle
- Always perform the toggle for every transaction.
D5
EnEndPoint
Setting this bit to 1 enables this endpoint.
When this bit is 0, access to an endpoint is neglected.
Perform the setup according to the SetConfiguration request from the host.
D4
Reserved
D[3:0]
EndPointNumber[3:0]
Sets an endpoint number between 0x1 and 0xf.
EPdConfig_1 (EPd Configuration 1)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPdConfig_1
(EPd
configuration 1)
0x300c5f
(8 bits)
D7
ISO
1 ISO
0 Non-ISO
0
R/W
D6
ISO_CRCmode
1 CRC mode
0 Normal ISO
0
R/W
D5–0 –
–
–
–
0 when being read.
This register sets up the endpoint EPd.