Datasheet

Table Of Contents
Offset Device Function Host Function
0xd0 EP10 in buffer control Interrupt endpoint buffer control 10
0xd4 EP10 out buffer control Spare
0xd8 EP11 in buffer control Interrupt endpoint buffer control 11
0xdc EP11 out buffer control Spare
0xe0 EP12 in buffer control Interrupt endpoint buffer control 12
0xe4 EP12 out buffer control Spare
0xe8 EP13 in buffer control Interrupt endpoint buffer control 13
0xec EP13 out buffer control Spare
0xf0 EP14 in buffer control Interrupt endpoint buffer control 14
0xf4 EP14 out buffer control Spare
0xf8 EP15 in buffer control Interrupt endpoint buffer control 15
0xfc EP15 out buffer control Spare
0x100 EP0 buffer 0 (shared between in and
out)
EPx control
0x140 Optional EP0 buffer 1 Spare
0x180 Data buffers
4.1.2.5.2. Endpoint control register
The endpoint control register is used to configure an endpoint. It contains:
The endpoint type
The base address of its data buffer, or data buffers if double buffered
Interrupts events on the endpoint should trigger
A device must support Endpoint 0 so that it can reply to SETUP packets and be enumerated. As a result, there is no
endpoint control register for EP0. Its buffers begin at 0x100. All other endpoints can have either single or dual buffers and
are mapped at the base address programmed. As EP0 has no endpoint control register, the interrupt enable controls for
EP0 come from SIE_CTRL.
Table 388. Endpoint
control register layout
Bit(s) Device Function Host Function
31 Endpoint Enable
30 Single buffered (64 bytes) = 0, Double buffered (64 bytes x 2) = 1
29 Enable Interrupt for every transferred buffer
28 Enable Interrupt for every 2 transferred buffers (valid for double buffered only)
27:26 Endpoint Type: Control = 0, ISO = 1, Bulk = 2, Interrupt = 3
25:18 N/A The interval the host controller should
poll this endpoint. Only applicable for
interrupt endpoints. Specified in ms - 1.
For example: a value of 9 would poll
the endpoint every 10ms.
17 Interrupt on Stall
16 Interrupt on NAK
15:6 Address base offset in DPSRAM of data buffer(s)
RP2040 Datasheet
4.1. USB 385