mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-10 05:53:39 +00:00
machine/rp2: expose usb endpoint stall handling
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user