Ep{R}(R=A,B,C) Config 0(Eprconfig_0) R/W; Ep{R}(R=A,B,C) Config 1(Eprconfig_1) R/W - Epson S1R72105 Technical Manual

Scsi interface controller
Table of Contents

Advertisement

7.5.2.8 EP {r}(r=a,b,c) Config 0 (EPrConfig_0) R/W
Sets operation of Endpoint a, b, and c.
USBIndex : 01h to 03h
Address
Register Name
18h
EPrConfig_0
BIT7-4 Endpoint Number
Sets any Endpoint number of 1h to Fh.
BIT3 OUT x IN
Sets the direction of transfer of Endpoint.
0: IN direction
1: OUT direction
BIT1 Join Port DMA
Connects the endpoint to the port DMA.
Connects the endpoint to the port DMA.
The port DMA is connected to the endpoint that last set this bit to HIGH.
When there is no endpoint set to HIGH the port DMA is connected to Endpoint c.
Immediately after resetting, the JointPortDMA bit becomes LOW at all endpoints.
BIT0 Really Used
Setting this bit to HIGH allows to use the endpoints.
When this bit is LOW it ignores access to the endpoint.
Set in accordance with the SetConfiguration request from the host.
7.5.2.9 EP {r}(r=a,b,c) Config 1 (EPrConfig_1) R/W
Sets operation of Endpoints a, b, and c.
USBIndex : 01h to 03h
Address
Register Name
19h
EPrConfig_1
BIT7 Double Buffer
Setting this bit to HIGH makes FIFO a double buffer, securing the area doubling the value of the size set for
MaxPacketSize.
BIT3-0 Max Packet Size
Sets MaxPacketSize of endpoint.
After setting MaxPacketSize and DoubleBuf of all endpoints, be sure to set the ALLFIFOCLR bit to HIGH.
The list corresponding to these bits is as follows:
(bit3, bit2, bit1, bit0)
0
0
0
0
0
0
0
0
1
0
1
0
1
0
0
Rev.1.0
Bit Symbol
7: EndPointNumber[3]
6: EndPointNumber[2]
5: EndPointNumber[1]
4: EndPointNumber[0]
3: OUTxIN
2: 0
1: JoinPortDMA
0: Really Used
Bit Symbol
7: DoubleBuf
6: 0
5: 0
4: 0
3: MaxPacketSize[3]
2: MaxPacketSize[2]
1: MaxPacketSize[1]
0: MaxPacketSize[0]
0
: Not in active use (no area is reserved)
1
: 8 bytes
0
: 16 bytes
0
: 32 bytes
0
: 64 bytes
S1R72105 Technical Manual
Endpoint Number
OUT x IN
Reserved
Join Port DMA
Really Used
Double Buffer
Reserved
Reserved
Reserved
Max Packet Size
EPSON
Description
Description
47

Advertisement

Table of Contents
loading

Table of Contents