forked from xtoolbox/archive_TeenyUSB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cdc5_desc.lua
35 lines (35 loc) · 1 KB
/
cdc5_desc.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
return Device {
strManufacture = "TeenyUSB",
strProduct = "TeenyUSB CDC",
strSerial = "TUSB123456",
idVendor = 0x0483,
idProduct = 0x0005,
prefix = "CDC5",
Config {
CDC_ACM{
EndPoint(IN(8), Interrupt, 8),
EndPoint(IN(1), BulkDouble, 64),
EndPoint(OUT(1), BulkDouble, 64),
},
CDC_ACM{
EndPoint(IN(9), Interrupt, 8),
EndPoint(IN(2), BulkDouble, 32),
EndPoint(OUT(2), BulkDouble, 32),
},
CDC_ACM{
EndPoint(IN(10), Interrupt, 8),
EndPoint(IN(3), BulkDouble, 32),
EndPoint(OUT(3), BulkDouble, 32),
},
CDC_ACM{
EndPoint(IN(11), Interrupt, 8),
EndPoint(IN(4), BulkDouble, 16),
EndPoint(OUT(4), BulkDouble, 16),
},
CDC_ACM{
EndPoint(IN(12), Interrupt, 8),
EndPoint(IN(5), BulkDouble, 16),
EndPoint(OUT(5), BulkDouble, 16),
},
}
}