RM0082
HS_USB 2.0 device
Doc ID 018672 Rev 1
503/844
23.8.15
Endpoint setup buffer pointer register
The endpoint SETUP buffer pointer is an endpoint-specific RW register which contains the
SETUP buffer pointer used in SETUP commands. The endpoint SETUP buffer pointer
register bit assignments are given in
.
Note:
1
The endpoint SETUP buffer pointer register is used in DMA mode only.
2
The endpoint SETUP buffer pointer register is applicable to control endpoints only, whereas
it is reserved for all other endpoints.
23.8.16 Endpoint
data
description pointer register
The endpoint data description pointer is an endpoint-specific RW register which contains
data descriptor pointer. Both in and out endpoints have a data descriptor pointer each (32 bit
wide).
The endpoint data description pointer register bit assignments are given in
.
23.8.17 UDC20
endpoint
register
The UDC20 endpoint register is used by SW to describe the endpoint characteristics.
Table 410.
Endpoint maximum packet size/buffer size register bit assignments
Bit
Name
Reset value Description
[31:16]
BUFF SIZE
16’h0000
Buffer size required for this endpoint.
This 16 bit field represent the size of the buffer in the
RxFIFO associated to that out endpoint as an integer
number of 32 bit words. Resulting flexibility in buffer
size allows the application to cope with interface or
configuration changes.
[15:00]
MAX PKT SIZE
16’h0000
Maximum packet size for the endpoint (in bytes).
Table 411.
Endpoint SETUP buffer pointer register bit assignments
Bit
Name
Reset value Description
[31:00]
SUBPTR
32’h0000
SETUP buffer pointer.
Table 412.
Endpoint data description pointer register bit assignments
Bit
Name
Reset value Description
[31:00]
DESPTR
32’h0000
Data descriptor pointer.
Table 413.
Endpoint register bit assignments
Bit
Name
Reset value Description
[31:30]
Reserved
-
Read: undefined. Write: should be zero.
[29:19]
MaxPackSize
11’h000
Maximum endpoint packet size.
[18:15]
AltSetting
4’h0
Alternate setting to which this endpoint belongs.
[14:11]
InterfNumber
4’h0
Interface number to which this endpoint belongs.