fork from va009039/USBLocalFileSystem
Dependents: 11u35_usbLocalFilesystem
Fork of USBLocalFileSystem by
USBMSD2/SerialInterface.h@11:c396747794c6, 2016-03-04 (annotated)
- Committer:
- k4zuki
- Date:
- Fri Mar 04 10:27:29 2016 +0000
- Revision:
- 11:c396747794c6
- Parent:
- 0:39eb4d5b97df
remove SWSPI
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:39eb4d5b97df | 1 | // SerialInterface.h 2013/9/22 |
va009039 | 0:39eb4d5b97df | 2 | #pragma once |
va009039 | 0:39eb4d5b97df | 3 | |
va009039 | 0:39eb4d5b97df | 4 | class SerialInterface { |
va009039 | 0:39eb4d5b97df | 5 | public: |
va009039 | 0:39eb4d5b97df | 6 | /** virtual COM to target |
va009039 | 0:39eb4d5b97df | 7 | */ |
va009039 | 0:39eb4d5b97df | 8 | virtual void serial_send_to_target(int c) = 0; |
va009039 | 0:39eb4d5b97df | 9 | |
va009039 | 0:39eb4d5b97df | 10 | /** target to virtual COM |
va009039 | 0:39eb4d5b97df | 11 | */ |
va009039 | 0:39eb4d5b97df | 12 | virtual int serial_send_to_virtual_com(int c); |
va009039 | 0:39eb4d5b97df | 13 | |
va009039 | 0:39eb4d5b97df | 14 | virtual void serial_break(); |
va009039 | 0:39eb4d5b97df | 15 | }; |