add LPC1549, add FRDM-KL46Z, fix epComplete bit operation.

Dependents:   XBee-ExplorerLite USBLocalFileSystem USB-to-UART-bridge USBLocalFileSystem

Fork of USBDevice by mbed official

Revision:
22:8615d80a0568
Parent:
21:c4c8fd0b0f12
Child:
23:554b76408e69
--- a/USBSerial/USBCDC.h	Thu May 08 22:45:45 2014 +0900
+++ b/USBSerial/USBCDC.h	Tue May 13 15:31:04 2014 +0900
@@ -111,7 +111,24 @@
     * @param stop The number of stop bits (1 or 2)
     */
     virtual void lineCodingChanged(int baud, int bits, int parity, int stop) {};
-    
+
+    /*
+    * Called by USBCallback_request when CDC control line state is changed
+    * Warning: Called in ISR
+    *
+    * @param rts Request to Send
+    * @param dtr Data Terminal Ready
+    */
+    virtual void controlLineStateChanged(int rts, int dtr) {};
+
+    /*
+    * Called by USBCallback_request when CDC send break
+    * Warning: Called in ISR
+    *
+    * @param duration break duration
+    */
+    virtual void sendBreak(uint16_t duration) {};
+
 protected:
     virtual bool USBCallback_request();
     virtual void USBCallback_requestCompleted(uint8_t *buf, uint32_t length);