diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-11 09:12:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-08-11 09:12:29 +0000 |
commit | c86491af8b24679984a3fc5effc7675779652e4c (patch) | |
tree | 7709d0549ff5bc2354403c4da82574d8461f3e79 /LUFA/Drivers/USB/Class/Host/CDC.h | |
parent | a2001ac1ccf4d4919c8243fbc69aff0b68973d3f (diff) | |
download | lufa-c86491af8b24679984a3fc5effc7675779652e4c.tar.gz lufa-c86491af8b24679984a3fc5effc7675779652e4c.tar.bz2 lufa-c86491af8b24679984a3fc5effc7675779652e4c.zip |
Add new functions to the HID host class driver, refine HID interface protocol matching.
Remove stray state variable from the CDC host class driver.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/CDC.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/CDC.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/CDC.h b/LUFA/Drivers/USB/Class/Host/CDC.h index 79df489ff..b7c492af8 100644 --- a/LUFA/Drivers/USB/Class/Host/CDC.h +++ b/LUFA/Drivers/USB/Class/Host/CDC.h @@ -71,8 +71,10 @@ */
struct
{
- bool Active; /**< Indicates if the current interface instance is connected to an attached device */
-
+ bool Active; /**< Indicates if the current interface instance is connected to an attached device, valid
+ * after \ref HID_Host_ConfigurePipes() is called and the Host state machine is in the
+ * Configured state
+ */
uint8_t ControlInterfaceNumber; /**< Interface index of the CDC-ACM control interface within the attached device */
uint16_t DataINPipeSize; /**< Size in bytes of the CDC interface's IN data pipe */
@@ -91,8 +93,6 @@ struct
{
- bool Active; /**< Indicates if the interface is currently active, i.e. attached to the connected device */
-
uint32_t BaudRateBPS; /**< Baud rate of the virtual serial port, in bits per second */
uint8_t CharFormat; /**< Character format of the virtual serial port, a value from the
* CDCDevice_CDC_LineCodingFormats_t enum
|