Ep0 Status Register (Ep0Sr) - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

USB2.0 DEVICE

8.9 EP0 STATUS REGISTER (EP0SR)

This register stores status information of the Endpoint 0. These status information are set automatically by the
core when corresponding conditions are met. After reading the bits, MCU should write 1 to clear them.
Register
Address
EP0SR
0x4980_0024
EP0SR
Bit
[31:7]
LWO
[6]
[5]
SHT
[4]
[3:2]
TST
[1]
RSR
[0]
16-16
R/W
R/W
EP0 status register
R/W
Reserved
R
Last Word Odd
Low informs that the last word of a packet in FIFO has an
invalid upper byte.
This bit is cleared automatically after the MCU reads it from
the FIFO.
Reserved
R/C
Stall Handshake Transmitted.
SHT informs that STALL handshake due to stall condition is
sent to Host.
This bit is an interrupt source. This bit is cleared when the
MCU writes 1.
Reserved
R/C
Tx successfully received.
TST is set by core after core sends TX data to Host and
receives ACK successfully. TST is one of the interrupt
sources.
R/C
Rx successfully received.
RSR is set by core after core receives error free packet from
Host and sent ACK back to Host successfully.
RSR is one of the interrupt sources.
S3C2416X RISC MICROPROCESSOR
Description
Description
Reset Value
0x0
Initial State
0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents