|
|
|
|
|
|
|
|
#define MTP_RX_SIZE_12 64 |
|
|
#define MTP_RX_SIZE_12 64 |
|
|
#define MTP_RX_SIZE_480 512 |
|
|
#define MTP_RX_SIZE_480 512 |
|
|
#define MTP_EVENT_ENDPOINT 4 |
|
|
#define MTP_EVENT_ENDPOINT 4 |
|
|
#define MTP_EVENT_SIZE 16 |
|
|
|
|
|
|
|
|
#define MTP_EVENT_SIZE 32 |
|
|
#define MTP_EVENT_INTERVAL_12 10 // 10 = 10 ms |
|
|
#define MTP_EVENT_INTERVAL_12 10 // 10 = 10 ms |
|
|
#define MTP_EVENT_INTERVAL_480 7 // 7 = 8 ms |
|
|
#define MTP_EVENT_INTERVAL_480 7 // 7 = 8 ms |
|
|
#define SEREMU_INTERFACE 1 // Serial emulation |
|
|
#define SEREMU_INTERFACE 1 // Serial emulation |
|
|
|
|
|
|
|
|
#define SEREMU_RX_INTERVAL 2 |
|
|
#define SEREMU_RX_INTERVAL 2 |
|
|
#define ENDPOINT2_CONFIG ENDPOINT_RECEIVE_INTERRUPT + ENDPOINT_TRANSMIT_INTERRUPT |
|
|
#define ENDPOINT2_CONFIG ENDPOINT_RECEIVE_INTERRUPT + ENDPOINT_TRANSMIT_INTERRUPT |
|
|
#define ENDPOINT3_CONFIG ENDPOINT_RECEIVE_BULK + ENDPOINT_TRANSMIT_BULK |
|
|
#define ENDPOINT3_CONFIG ENDPOINT_RECEIVE_BULK + ENDPOINT_TRANSMIT_BULK |
|
|
// TODO: Should ENDPOINT4_CONFIG be ENDPOINT_RECEIVE_UNUSED + ENDPOINT_TRANSMIT_INTERRUPT ??? |
|
|
|
|
|
#define ENDPOINT4_CONFIG ENDPOINT_RECEIVE_INTERRUPT + ENDPOINT_TRANSMIT_UNUSED |
|
|
|
|
|
|
|
|
#define ENDPOINT4_CONFIG ENDPOINT_RECEIVE_UNUSED + ENDPOINT_TRANSMIT_INTERRUPT |
|
|
|
|
|
|
|
|
#elif defined(USB_AUDIO) |
|
|
#elif defined(USB_AUDIO) |
|
|
#define VENDOR_ID 0x16C0 |
|
|
#define VENDOR_ID 0x16C0 |