Add new functions to the HID host class driver, refine HID interface protocol matching.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / CDC.h
index 79df489..b7c492a 100644 (file)
                                           */\r
                                struct\r
                                {\r
-                                       bool Active; /**< Indicates if the current interface instance is connected to an attached device */\r
-                                       \r
+                                       bool Active; /**< Indicates if the current interface instance is connected to an attached device, valid\r
+                                                     *   after \ref HID_Host_ConfigurePipes() is called and the Host state machine is in the\r
+                                                     *   Configured state\r
+                                                     */\r
                                        uint8_t ControlInterfaceNumber; /**< Interface index of the CDC-ACM control interface within the attached device */\r
                                \r
                                        uint16_t DataINPipeSize; /**< Size in bytes of the CDC interface's IN data pipe */\r
@@ -91,8 +93,6 @@
                                        \r
                                        struct\r
                                        {\r
-                                               bool Active; /**< Indicates if the interface is currently active, i.e. attached to the connected device */\r
-                                       \r
                                                uint32_t BaudRateBPS; /**< Baud rate of the virtual serial port, in bits per second */\r
                                                uint8_t  CharFormat; /**< Character format of the virtual serial port, a value from the\r
                                                                                          *   CDCDevice_CDC_LineCodingFormats_t enum\r