L-USS820FD-DB AGERE [Agere Systems], L-USS820FD-DB Datasheet - Page 20

no-image

L-USS820FD-DB

Manufacturer Part Number
L-USS820FD-DB
Description
USB Device Controller
Manufacturer
AGERE [Agere Systems]
Datasheet
USS-820FD
USB Device Controller
USB Device Controller
Register Interface
Table 19. Endpoint Control Register (EPCON)—Address: 0BH; Default: Endpoint 0 = 0011 0101B;
This SFR configures the operation of the endpoint specified by EPINDEX. This register is endpoint indexed.
* S = shared bit. P = PEND must be set when writing this bit. See Special Firmware Action for Shared Register Bits section.
20
R/W (S*)
RXSTL
Bit 7
Bit
7
6
5
4
3
2
1
0
Others = 0001 0000B
RXEPEN
TXEPEN
Symbol
RXSPM
RXSTL
CTLEP
TXSTL
TXOE
TXSTL
RXIE
Bit 6
(continued)
Stall Receive Endpoint. When set, this bit stalls the receive endpoint. Firmware
must clear this bit only after the host has intervened through commands sent down
endpoint 0. When this bit is set and RXSETUP is clear, the receive endpoint responds
with a STALL handshake to a valid OUT token. When this bit is set and RXSETUP is
set, the receive endpoint will NACK. This bit does not affect the reception of SETUP
tokens by a control endpoint. This bit is set by the hardware if the data phase of the
status stage of a control transfer does not use the correct data PID (DATA1) or has
more than 0 data bytes.
Stall Transmit Endpoint. When set, this bit stalls the transmit endpoint. Firmware
must clear this bit only after the host has intervened through commands sent down
endpoint 0. When this bit is set and RXSETUP is clear, the transmit endpoint
responds with a STALL handshake to a valid IN token. When this bit is set and
RXSETUP is set, the receive endpoint will NACK.
Control Endpoint. When set, this bit configures the endpoint as a control endpoint.
Only control endpoints are capable of receiving SETUP tokens.
Receive Single-Packet Mode. When set, this bit configures the receive endpoint for
single data packet operation. When enabled, only a single data packet is allowed to
reside in the receive FIFO.
Note: For control endpoints (CTLEP = 1), this bit should be set for single-packet
Receive Input Enable. When set, this bit enables data from the USB to be written
into the receive FIFO. If cleared, the endpoint responds to an OUT token by ignoring
the data and returning a NACK handshake to the host (unless RXSTL is set, in which
case a STALL is returned). This bit does not affect a valid SETUP token.
Receive Endpoint Enable. When set, this bit enables the receive endpoint. When
disabled, the endpoint does not respond to a valid OUT or SETUP token. This bit is
hardware read only and has the highest priority among RXIE and RXSTL.
Note: Endpoint 0 is enabled for reception upon reset.
Transmit Output Enable. When set, this bit enables the data in TXDAT to be trans-
mitted. If cleared, the endpoint returns a NACK handshake to a valid IN token if the
TXSTL bit is not set.
Transmit Endpoint Enable. When set, this bit enables the transmit endpoint. When
disabled, the endpoint does not respond to a valid IN token. This bit is hardware read
only.
Note: Endpoint 0 is enabled for transmission upon reset.
CTLEP
Bit 5
mode operation as the recommended firmware model. However, it is possible
to have a control endpoint configured in dual-packet mode as long as the firm-
ware handles the endpoint correctly.
RXSPM
Bit 4
Function/Description
R/W(P*)
RXIE
Bit 3
RXEPEN
Bit 2
TXOE
Bit 1
Data Sheet, Rev. 1
Agere Systems Inc.
August 2004
TXEPEN
Bit 0

Related parts for L-USS820FD-DB