GD32F1x0: USB/GD32_USB_Device_Library/Core/inc/usbd_conf_template.h File Reference

GD32F1x0

usbd_conf_template.h File Reference

USB device configuration template file. More...

#include "usb_conf.h"

Go to the source code of this file.

Macros

#define USBD_SELF_POWERED
 
#define USBD_CFG_MAX_NUM   1
 
#define AUDIO_TOTAL_IF_NUM   0x02
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_STR_DESC_MAX_SIZE   200
 
#define AUDIO_OUT_EP   EP1_OUT
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_MAX_STR_DESC_SIZ   64
 
#define CCID_BULK_EP_MAX_PACKET   64
 
#define CCID_INTR_EP_MAX_PACKET   8
 
#define CCID_BULK_IN_EP   EP1_IN
 
#define CCID_BULK_OUT_EP   EP1_OUT
 
#define CCID_INTR_IN_EP   EP2_IN
 
#define USB_SUPPORT_USER_STRING_DESC
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_STR_DESC_MAX_SIZE   64
 
#define CUSTOMHID_REPORT_DESC_SIZE   163
 
#define CUSTOMHID_CONFIG_DESC_SIZE   41
 
#define HID_IN_EP   EP1_IN
 
#define HID_OUT_EP   EP1_OUT
 
#define HID_IN_PACKET   2
 
#define HID_OUT_PACKET   2
 
#define CDC_IN_EP   EP1_IN
 
#define CDC_OUT_EP   EP3_OUT
 
#define CDC_CMD_EP   EP2_IN
 
#define CDC_DATA_MAX_PACKET_SIZE   64
 
#define CDC_CMD_PACKET_SIZE   8
 
#define CDC_IN_FRAME_INTERVAL   5
 
#define APP_RX_DATA_SIZE   2048
 
#define APP_FOPS   VCP_fops
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_MAX_STR_DESC_SIZE   64
 
#define CUSTOMHID_REPORT_DESC_SIZE   163
 
#define CUSTOMHID_CONFIG_DESC_SIZE   41
 
#define HID_IN_EP   EP1_IN
 
#define HID_OUT_EP   EP1_OUT
 
#define HID_IN_PACKET   4
 
#define HID_OUT_PACKET   4
 
#define MSC_MAX_PACKET   64
 
#define MSC_MEDIA_PACKET   512
 
#define MSC_IN_EP   EP2_IN
 
#define MSC_OUT_EP   EP2_OUT
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_STR_DESC_MAX_SIZE   64
 
#define CUSTOMHID_REPORT_DESC_SIZE   163
 
#define CUSTOMHID_CONFIG_DESC_SIZE   41
 
#define HID_IN_PACKET   2
 
#define HID_OUT_PACKET   2
 
#define HID_IN_EP   EP1_IN
 
#define HID_OUT_EP   EP1_OUT
 
#define USBD_ITF_MAX_NUM   MAX_USED_MEDIA
 
#define USB_MAX_STR_DESC_SIZE   200
 
#define XFERSIZE   1024
 
#define MAX_USED_MEDIA   1
 
#define DFU_IN_EP   EP0_IN
 
#define DFU_OUT_EP   EP0_OUT
 
#define USB_SUPPORT_USER_STRING_DESC
 
#define APP_DEFAULT_ADD   0x08003000
 
#define DFU_MAL_IS_PROTECTED_AREA(add)   (uint8_t)(((add >= 0x08000000) && (add < (APP_DEFAULT_ADD)))? 1:0)
 
#define TRANSFER_SIZE_BYTES(size)
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_STR_DESC_MAX_SIZE   64
 
#define MSC_MAX_PACKET   64
 
#define MSC_MEDIA_PACKET   512
 
#define MSC_IN_EP   EP1_IN
 
#define MSC_OUT_EP   EP2_OUT
 
#define USBD_ITF_MAX_NUM   1
 
#define USB_MAX_STR_DESC_SIZ   255
 
#define CDC_IN_EP   EP1_IN
 
#define CDC_OUT_EP   EP3_OUT
 
#define CDC_CMD_EP   EP2_IN
 
#define CDC_DATA_MAX_PACKET_SIZE   64
 
#define CDC_CMD_PACKET_SZE   8
 
#define CDC_IN_FRAME_INTERVAL   5
 
#define APP_RX_DATA_SIZE   2048
 
#define APP_FOPS   VCP_fops
 

Detailed Description

USB device configuration template file.

Author
MCU SD
Version
V1.0.0
Date
6-Sep-2014

Definition in file usbd_conf_template.h.

Generated by   doxygen 1.8.10