29 #ifndef __USBD_CONF__H__ 30 #define __USBD_CONF__H__ 38 #define USBD_CFG_MAX_NUM 1 39 #define USBD_ITF_MAX_NUM 1 41 #define USBD_SELF_POWERED 43 #define USB_MAX_STR_DESC_SIZ 255 48 #define CDC_IN_EP 0x81 49 #define CDC_OUT_EP 0x01 50 #define CDC_CMD_EP 0x82 54 #define CDC_DATA_MAX_PACKET_SIZE 512 55 #define CDC_CMD_PACKET_SZE 8 57 #define CDC_IN_FRAME_INTERVAL 40 58 #define APP_RX_DATA_SIZE 2048 61 #define CDC_DATA_MAX_PACKET_SIZE 64 62 #define CDC_CMD_PACKET_SZE 8 64 #define CDC_IN_FRAME_INTERVAL 5 65 #define APP_RX_DATA_SIZE 2048 69 #define APP_FOPS VCP_fops 84 #define MSC_IN_EP 0x81 85 #define MSC_OUT_EP 0x01 88 #define MSC_MAX_PACKET 512 90 #define MSC_MAX_PACKET 64 93 #define MSC_MAX_PACKET 64 97 #define MSC_MEDIA_PACKET 4096 144 #endif //__USBD_CONF__H__ General low level driver configuration.