28 USB FUNCTION CONTROLLER (USB)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
28-47
EPaConfig_0 (EPa Configuration 0)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPaConfig_0
(EPa
configuration 0)
0x300c52
(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 EPa.
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.
EPaConfig_1 (EPa Configuration 1)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPaConfig_1
(EPa
configuration 1)
0x300c53
(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 EPa.
Perform the setup so that combination of the EndpointNumber and the INxOUT does not overlap with those of
other endpoints.
D7
ISO
Sets the isochronous mode.
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
EPbMaxSize_H (EPb Max Packet Size HIGH)
EPbMaxSize_L (EPb Max Packet Size LOW)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPbMaxSize_H
(EPb max
packet size
high)
0x300c54
(8 bits)
D7–2 –
–
–
–
0 when being read.
D1–0 EPbMaxSize[9:8]
Endpoint EPb max packet size
0x0 R/W
EPbMaxSize_L
(EPb max
packet size
low)
0x300c55
(8 bits)
D7–0 EPbMaxSize[7:0]
Endpoint EPb max packet size
0x0 R/W