usb: add DTR and RTS to serialer interface

This commit is contained in:
sago35
2022-07-12 22:03:00 +09:00
committed by Ron Evans
parent 0bc7c2a61f
commit 7afc47d67a
+2
View File
@@ -23,6 +23,8 @@ type Serialer interface {
Configure(config UARTConfig) error
Buffered() int
ReadByte() (byte, error)
DTR() bool
RTS() bool
}
var usbDescriptor = descriptorCDC