MAX32665-MAX32668 User Guide
Maxim Integrated Page 420 of 457
USBHS IN Endpoint Upper Control
Isochronous Transfer Enable
0: Enable IN Bulk and IN Interrupt transfers
1: Enable IN Isochronous transfers
Endpoint Direction Mode
0: Endpoint direction is OUT
1: Endpoint direction is IN
Note: Ignored if endpoint is not used for both IN and OUT transactions.
DMA Request Enable
0: Disable DMA for this IN endpoint
1: Enable DMA for this IN endpoint
Force IN Data-Toggle
0: Toggle data-toggle only when an ACK is received
1: Toggle data-toggle regardless of whether an ACK is received
Note: Useful for Interrupt IN endpoints that are communicating rate feedback to
Isochronous endpoints.
DMA Request Mode Enable
0: Enable DMA Request Mode 0. A DMA request is generated for each packet
transmission. This mode can only be selected after the dmareqenab bit is
cleared first.
1: Enable DMA Request Mode 1. A DMA request is generated only when a packet
of size USBHS_INMAXP.maxpacketsize is received.
Double Packet Buffering Disable
0: Enable double packet buffering. Firmware must also configure the FIFO and
packet size.
1: Disable double packet buffering
Reserved for Future Use
Do not modify this field.
Table 21-22: USBHS OUT Endpoint Maximum Packet Size Register
USBHS OUT Endpoint Maximum Packet Size
Number of Split Packets
Defines the maximum number of packets minus 1 that a USB payload is combined
into. The value must be an exact multiple of maxpacketsize.
The total number of bytes transferred in the payload is maxpacketsize x
(numpackminus1+1). This must match the maxpacketsize field of the Standard
Endpoint Descriptor for the associated endpoint.
Only applicable for Hi-Speed (HS), High Bandwidth Isochronous endpoints, and Bulk
endpoints. Ignored in all other cases.
HS High Bandwidth Isochronous Endpoints
The multiplier can only be 2 or 3, so this bit field value can only be 0x01 or 0x02.
Bulk Endpoints
The max multiplier is 32, so the maximum value for this register is 31 (0x1F).