|
|
@ -42,23 +42,23 @@
|
|
|
|
#include <LUFA/Drivers/USB/USB.h>
|
|
|
|
#include <LUFA/Drivers/USB/USB.h>
|
|
|
|
|
|
|
|
|
|
|
|
/* Macros: */
|
|
|
|
/* Macros: */
|
|
|
|
/** Endpoint number of the first CDC interface's device-to-host notification IN endpoint. */
|
|
|
|
|
|
|
|
#define CDC1_NOTIFICATION_EPNUM 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Endpoint number of the first CDC interface's device-to-host data IN endpoint. */
|
|
|
|
/** Endpoint number of the first CDC interface's device-to-host data IN endpoint. */
|
|
|
|
#define CDC1_TX_EPNUM 1
|
|
|
|
#define CDC1_TX_EPNUM 1
|
|
|
|
|
|
|
|
|
|
|
|
/** Endpoint number of the first CDC interface's host-to-device data OUT endpoint. */
|
|
|
|
/** Endpoint number of the first CDC interface's host-to-device data OUT endpoint. */
|
|
|
|
#define CDC1_RX_EPNUM 2
|
|
|
|
#define CDC1_RX_EPNUM 2
|
|
|
|
|
|
|
|
|
|
|
|
/** Endpoint number of the second CDC interface's device-to-host notification IN endpoint. */
|
|
|
|
/** Endpoint number of the first CDC interface's device-to-host notification IN endpoint. */
|
|
|
|
#define CDC2_NOTIFICATION_EPNUM 4
|
|
|
|
#define CDC1_NOTIFICATION_EPNUM 3
|
|
|
|
|
|
|
|
|
|
|
|
/** Endpoint number of the second CDC interface's device-to-host data IN endpoint. */
|
|
|
|
/** Endpoint number of the second CDC interface's device-to-host data IN endpoint. */
|
|
|
|
#define CDC2_TX_EPNUM 5
|
|
|
|
#define CDC2_TX_EPNUM 4
|
|
|
|
|
|
|
|
|
|
|
|
/** Endpoint number of the second CDC interface's host-to-device data OUT endpoint. */
|
|
|
|
/** Endpoint number of the second CDC interface's host-to-device data OUT endpoint. */
|
|
|
|
#define CDC2_RX_EPNUM 6
|
|
|
|
#define CDC2_RX_EPNUM 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Endpoint number of the second CDC interface's device-to-host notification IN endpoint. */
|
|
|
|
|
|
|
|
#define CDC2_NOTIFICATION_EPNUM 6
|
|
|
|
|
|
|
|
|
|
|
|
/** Size in bytes of the CDC device-to-host notification IN endpoints. */
|
|
|
|
/** Size in bytes of the CDC device-to-host notification IN endpoints. */
|
|
|
|
#define CDC_NOTIFICATION_EPSIZE 8
|
|
|
|
#define CDC_NOTIFICATION_EPSIZE 8
|
|
|
|