Skip to content

Commit 3288f5e

Browse files
committed
chore: add doc note around USB DPSRAM layout
1 parent 5e66501 commit 3288f5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/machine/machine_rp2_usb.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ func (dev *USBDevice) ClearStallEPOut(ep uint32) {
231231
}
232232
}
233233

234+
// RP2040: See datasheet section 4.1.2.7.2
235+
// RP2350: See datasheet section 12.7.3.7.2
234236
type usbDPSRAM struct {
235237
// Note that EPxControl[0] is not EP0Control but 8-byte setup data.
236238
EPxControl [16]usbEndpointControlRegister

0 commit comments

Comments
 (0)