aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/usb/config.go
blob: de620e7aa6d4c5689878e95ae7686c47e735fb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package usb

type EndpointConfig struct {
	No        uint8
	IsIn      bool
	TxHandler func()
	RxHandler func([]byte)
	Type      uint8
}

type SetupConfig struct {
	No      uint8
	Handler func(Setup) bool
}