aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Common/CDC.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-05-06 11:56:34 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-05-06 11:56:34 +0000
commit842e219bf3341020b9e3a5f04fe67dabd796e82d (patch)
treef65e3a2f492fe145f272ee4c998a648aad65c4b5 /LUFA/Drivers/USB/Class/Common/CDC.h
parent9c8bd6ed9bdf4d6a5f428c5d6ff867cec858df3b (diff)
downloadlufa-842e219bf3341020b9e3a5f04fe67dabd796e82d.tar.gz
lufa-842e219bf3341020b9e3a5f04fe67dabd796e82d.tar.bz2
lufa-842e219bf3341020b9e3a5f04fe67dabd796e82d.zip
Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() function to the Device and Host CDC Class drivers.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Common/CDC.h')
-rw-r--r--LUFA/Drivers/USB/Class/Common/CDC.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Class/Common/CDC.h b/LUFA/Drivers/USB/Class/Common/CDC.h
index cef7a4cd1..9fb1202bc 100644
--- a/LUFA/Drivers/USB/Class/Common/CDC.h
+++ b/LUFA/Drivers/USB/Class/Common/CDC.h
@@ -74,6 +74,15 @@
/** CDC Class specific request to set the current virtual serial port handshake line states. */
#define REQ_SetControlLineState 0x22
+
+ /** CDC Class specific request to send a break to the receiver via the carrier channel. */
+ #define REQ_SendBreak 0x23
+
+ /** CDC Class specific request to send an encapsulated command to the device. */
+ #define REQ_SendEncapsulatedCommand 0x00
+
+ /** CDC Class specific request to retrieve an encapsulated command response from the device. */
+ #define REQ_GetEncapsulatedResponse 0x01
/** Notification type constant for a change in the virtual serial port handshake line states, for
* use with a USB_Notification_Header_t notification structure when sent to the host via the CDC