Endpoint Status Register (Esr) - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

S3C2416X RISC MICROPROCESSOR

8.12 ENDPOINT STATUS REGISTER (ESR)

The endpoint status register reports current status of an endpoint (except EP0) to the MCU
Register
Address
ESR
0x4980_002C
ESR
Bit
[31:12]
FPID
[11]
OSD
[10]
DTCZ
[9]
SPT
[8]
DOM
[7]
FFS
[6]
FSC
[5]
LWO
[4]
R/W
R/W
Endpoint status register
R/W
Reserved
R/W
First OUT Packet interrupt Disable in OUT DMA operation.
First Received OUT packet generates interrupt if this bit is
disabled and DEN in DMA control register is enabled
0 = Disable
1 = Enable
R/C
OUT Start DMA Operation.
OSD is set when First OUT packet is received after
Registers related DMA Operation are set.
R/C
DMA Total Count Zero
DTCZ is set when DMA Operation Total Counter reach to 0.
This bit is cleared when the MCU writes 1 on it.
R/C
Short Packet Received.
SPT informs that OUT endpoint receives short packet during
OUT DMA Operation.
This bit is cleared when the MCU writes 1 on it.
R
Dual Operation Mode
DOM is set when the max packet size of corresponding
endpoint is equal to a half FIFO size.
This bit is read only.
Endpoint0 does not support dual mode.
R/C
FIFO Flushed.
FFS informs that FIFO is flushed.
This bit is an interrupt source.
This bit is cleared when the MCU clears FLUSH bit in
Endpoint Control Register.
R/C
Function Stall Condition.
FSC informs that STALL handshake due to functional stall
condition is sent to Host.
This bit is set when endpoint stall set bit is set by the MCU.
This bit is cleared when the MCU writes 1 on it.
R
Last Word Odd.
Low informs that the lower byte of last word is only valid.
This bit is automatically cleared after the MCU reads packet
data received Host.
Description
Description
USB2.0 DEVICE
Reset Value
0x0
Initial State
0
0
0
0
0
0
0
0
16-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents