#include <LUFA/Drivers/USB/USB.h>\r
\r
/* Macros: */\r
- /** Endpoint number of the TMC notification IN endpoint. */\r
- #define TMC_NOTIFICATION_EPNUM 2 \r
+ /** Endpoint address of the TMC notification IN endpoint. */\r
+ #define TMC_NOTIFICATION_EPADDR (ENDPOINT_DIR_IN | 2)\r
\r
- /** Endpoint number of the TMC device-to-host data IN endpoint. */\r
- #define TMC_IN_EPNUM 3 \r
+ /** Endpoint address of the TMC device-to-host data IN endpoint. */\r
+ #define TMC_IN_EPADDR (ENDPOINT_DIR_IN | 3)\r
\r
- /** Endpoint number of the TMC host-to-device data OUT endpoint. */\r
- #define TMC_OUT_EPNUM 4 \r
+ /** Endpoint address of the TMC host-to-device data OUT endpoint. */\r
+ #define TMC_OUT_EPADDR (ENDPOINT_DIR_OUT | 4)\r
\r
/** Size in bytes of the TMC data endpoints. */\r
- #define TMC_IO_EPSIZE 64\r
+ #define TMC_IO_EPSIZE 64\r
\r
/** Size in bytes of the TMC notification endpoint. */\r
- #define TMC_NOTIFICATION_EPSIZE 8\r
+ #define TMC_NOTIFICATION_EPSIZE 8\r
\r
/* Type Defines: */\r
/** Type define for the device configuration descriptor structure. This must be defined in the\r