28 USB FUNCTION CONTROLLER (USB)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
28-49
EPcMaxSize_H (EPc Max Packet Size HIGH)
EPcMaxSize_L (EPc Max Packet Size LOW)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPcMaxSize_H
(EPc max
packet size
high)
0x300c58
(8 bits)
D7–2 –
–
–
–
0 when being read.
D1–0 EPcMaxSize[9:8]
Endpoint EPc max packet size
0x0 R/W
EPcMaxSize_L
(EPc max
packet size
low)
0x300c59
(8 bits)
D7–0 EPcMaxSize[7:0]
Endpoint EPc max packet size
0x0 R/W
EPcMaxSize[9:0]
This register sets the MaxPacketSize of the endpoint EPc.
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 EPc is smaller than specified here, the macro does not operate normally.
EPcConfig_0 (EPc Configuration 0)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPcConfig_0
(EPc
configuration 0)
0x300c5a
(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 EPc.
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.
EPcConfig_1 (EPc Configuration 1)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EPcConfig_1
(EPc
configuration 1)
0x300c5b
(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 EPc.
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.