USB composite device example program, drag-and-drop flash writer.

Dependencies:   SWD USBDevice mbed BaseDAP

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SerialInterface.h Source File

SerialInterface.h

00001 // SerialInterface.h 2013/9/22
00002 #pragma once
00003 
00004 class SerialInterface {
00005 public:
00006     /** virtual COM to target
00007      */
00008     virtual void serial_send_to_target(int c) = 0;
00009 
00010     /** target to virtual COM
00011      */
00012     virtual int serial_send_to_virtual_com(int c);
00013     
00014     virtual void serial_break();
00015 };