Endpoint Control Register (Ecr) - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

S3C2416X RISC MICROPROCESSOR

8.13 ENDPOINT CONTROL REGISTER (ECR)

The endpoint control register is useful for controlling an endpoint both in normal operation and test case. Putting
an endpoint in specific operation mode can be accomplished through the endpoint control register.
Register
Address
ECR
0x4980_0030
ECR
Bit
[31:13]
INPKTHLD
[12]
OUTPKTHLD
[11]
[10:8]
DUEN
[7]
FLUSH
[6]
[5:2]
ESS
[1]
IEMS
[0]
R/W
R/W
Endpoint Control Register
R/W
Reserved
R/W
The MCU can control Tx FIFO status through this bit. If this
bit is set to one, USB does not send IN data to Host.
0 = The USB can send IN data to Host according to
IN FIFO status(normal operation)
1 = The USB sends NAK handshake to Host
regardless of IN FIFO status.
R/W
The MCU can control Rx FIFO Status through this bit. If this
bit is set to one, USB does not accept OUT data from Host.
0 = The USB can accept OUT data from Host
according to OUT FIFO status(normal operation)
1 = The USB does not accept OUT data from Host.
Reserved
R/W
Dual FIFO mode Enable
0 = Dual Disable(Single mode)
1 = Dual Enable
R/W
FIFO Flush
FIFO is flushed when this bit is set to 1.
This bit is automatically cleared after MCU writes 1.
Reserved
R/W
Endpoint Stall Set
ESS is set by the MCU when the MCU intends to send
STALL handshake to Host.
This bit is cleared when the MCU writes 0 in it.
R/W
Interrupt Endpoint Mode Set
IEMS determines the transfer type of an endpoint.
0 = Interrupt Transfer mode Disable
1 = Interrupt Transfer mode Enable
Description
Description
USB2.0 DEVICE
Reset Value
0x0
Initial State
0
0
0
0
0
0
16-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents