mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 14:33:41 +00:00
machine: implement usb receive message throttling
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package usb
|
||||
|
||||
type EndpointConfig struct {
|
||||
Index uint8
|
||||
IsIn bool
|
||||
TxHandler func()
|
||||
RxHandler func([]byte)
|
||||
StallHandler func(Setup) bool
|
||||
Type uint8
|
||||
Index uint8
|
||||
IsIn bool
|
||||
TxHandler func()
|
||||
RxHandler func([]byte)
|
||||
DelayRxHandler func([]byte) bool
|
||||
StallHandler func(Setup) bool
|
||||
Type uint8
|
||||
}
|
||||
|
||||
type SetupConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user