machine/rp2: expose usb endpoint stall handling

This commit is contained in:
Michael Smith
2025-04-16 21:16:51 -04:00
committed by Ron Evans
parent 0f06f59c6e
commit febb3906db
5 changed files with 74 additions and 12 deletions
+6 -5
View File
@@ -1,11 +1,12 @@
package usb
type EndpointConfig struct {
Index uint8
IsIn bool
TxHandler func()
RxHandler func([]byte)
Type uint8
Index uint8
IsIn bool
TxHandler func()
RxHandler func([]byte)
StallHandler func(Setup) bool
Type uint8
}
type SetupConfig struct {