mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +00:00
usb: add DTR and RTS to serialer interface
This commit is contained in:
@@ -23,6 +23,8 @@ type Serialer interface {
|
|||||||
Configure(config UARTConfig) error
|
Configure(config UARTConfig) error
|
||||||
Buffered() int
|
Buffered() int
|
||||||
ReadByte() (byte, error)
|
ReadByte() (byte, error)
|
||||||
|
DTR() bool
|
||||||
|
RTS() bool
|
||||||
}
|
}
|
||||||
|
|
||||||
var usbDescriptor = descriptorCDC
|
var usbDescriptor = descriptorCDC
|
||||||
|
|||||||
Reference in New Issue
Block a user