55 #define USBD_VID_ATMEL 0x03EB 57 #define USBD_PID_ENUM 0x0001 58 #define USBD_PID_CDCDSERIAL 0x6124 59 #define USBD_PID_HIDKEYBOARD 0x6127 60 #define USBD_PID_AUDIO 0x6128 61 #define USBD_PID_MSD 0x6129 62 #define USBD_PID_CDCHID 0x6130 63 #define USBD_PID_CDCAUDIO 0x6131 64 #define USBD_PID_CDCMSD 0x6132 65 #define USBD_PID_CDCCDC 0x6133 66 #define USBD_PID_HIDAUDIO 0x6134 67 #define USBD_PID_HIDMSD 0x6135 68 #define USBD_PID_HIDMOUSE 0x6200 69 #define USBD_PID_HIDTRANSFER 0x6201 70 #define USBD_PID_CCID 0x6203 71 #define USBD_PID_UVC 0x6136 72 #define USBD_PID_CDCEEM 0x6137 74 #define USBD_RELEASE_1_00 0x0100 75 #define USBD_RELEASE_0_01 0x0001 85 #define USBD_BMATTRIBUTES USBConfigurationDescriptor_SELFPOWERED_NORWAKEUP 101 #define MSDDriverDescriptors_BULKOUT 2 103 #define MSDDriverDescriptors_BULKIN 3 120 #define CDCDSerialDriverDescriptors_DATAOUT 2 122 #define CDCDSerialDriverDescriptors_DATAIN 3 124 #define CDCDSerialDriverDescriptors_NOTIFICATION 4 140 #define CDCDEEMDriverDescriptors_BULKOUT 1 142 #define CDCDEEMDriverDescriptors_BULKIN 2 156 #define AUDDevice_SAMPLERATE 48000UL 158 #define AUDDevice_NUMCHANNELS 2 160 #define AUDDevice_BYTESPERSAMPLE 2 163 #define AUDDevice_BITSPERSAMPLE (AUDDevice_BYTESPERSAMPLE * 8) 165 #define AUDDevice_BYTESPERSUBFRAME (AUDDevice_NUMCHANNELS * \ 166 AUDDevice_BYTESPERSAMPLE) 168 #define AUDDevice_SAMPLESPERFRAME (AUDDevice_SAMPLERATE / 1000 \ 169 * AUDDevice_NUMCHANNELS) 171 #define AUDDevice_BYTESPERFRAME (AUDDevice_SAMPLESPERFRAME * \ 172 AUDDevice_BYTESPERSAMPLE) 190 #define AUDDSpeakerDriverDescriptors_DATAOUT 0x02 192 #define AUDDSpeakerDriverDescriptors_HS_INTERVAL 0x04 194 #define AUDDSpeakerDriverDescriptors_FS_INTERVAL 0x01 212 #define AUDDSpeakerPhoneDriverDescriptors_DATAOUT 0x02 214 #define AUDDSpeakerPhoneDriverDescriptors_DATAIN 0x01 217 #define AUDDSpeakerPhoneDriverDescriptors_HS_INTERVAL 0x04 219 #define AUDDSpeakerPhoneDriverDescriptors_FS_INTERVAL 0x01 238 #define HIDDKeyboardDriverDescriptors_INTERRUPTIN 2 240 #define HIDDKeyboardDriverDescriptors_INTERRUPTIN_POLLING 10 242 #define HIDDKeyboardDriverDescriptors_INTERRUPTOUT 3 244 #define HIDDKeyboardDriverDescriptors_INTERRUPTOUT_POLLING 10 261 #define HIDDMouseDriverDescriptors_INTERRUPTIN 2 263 #define HIDDMouseDriverDescriptors_INTERRUPTIN_POLLING 8 282 #define HIDDTransferDriverDescriptors_INTERRUPTIN 2 284 #define HIDDTransferDriverDescriptors_INTERRUPTIN_POLLING 50 286 #define HIDDTransferDriverDescriptors_INTERRUPTOUT 3 288 #define HIDDTransferDriverDescriptors_INTERRUPTOUT_POLLING 50 304 #define HIDAUDD_Descriptors_INTERRUPTIN 0x03 306 #define HIDAUDD_Descriptors_INTERRUPTOUT 0x04 309 #define HIDAUDD_Descriptors_ISO_DATAOUT 0x02 317 #define CDCAUDD_Descriptors_NOTIFICATION0 0x04 319 #define CDCAUDD_Descriptors_DATAIN0 0x03 321 #define CDCAUDD_Descriptors_DATAOUT0 0x02 323 #define CDCAUDD_Descriptors_ISO_DATAOUT 0x01 331 #define CDCD_Descriptors_NOTIFICATION0 3 332 #define CDCD_Descriptors_DATAIN0 2 334 #define CDCD_Descriptors_DATAOUT0 1 338 #define CDCD_Descriptors_NOTIFICATION1 6 339 #define CDCD_Descriptors_DATAIN1 5 341 #define CDCD_Descriptors_DATAOUT1 4 351 #define CDCD_Descriptors_NOTIFICATION0 3 353 #define CDCD_Descriptors_DATAIN0 2 355 #define CDCD_Descriptors_DATAOUT0 1 358 #define HIDD_Descriptors_INTERRUPTIN 4 360 #define HIDD_Descriptors_INTERRUPTOUT 5 369 #define HIDMSDD_Descriptors_BULKOUT 2 371 #define HIDMSDD_Descriptors_BULKIN 3 374 #define HIDMSDD_Descriptors_INTERRUPTIN 4 376 #define HIDMSDD_Descriptors_INTERRUPTOUT 5 383 #define CDCD_Descriptors_NOTIFICATION0 3 385 #define CDCD_Descriptors_DATAIN0 2 387 #define CDCD_Descriptors_DATAOUT0 1 389 #define MSDD_Descriptors_BULKOUT 4 391 #define MSDD_Descriptors_BULKIN 5 396 #endif //#ifndef USBD_CONFIG_H Standard board header file.