GD32F10x USB-Device
V1.0.0
GD32F10x USB-Device
|
Macros | |
#define | USBD_SELF_POWERED |
#define | USBD_CFG_MAX_NUM 1 |
#define | AUDIO_TOTAL_IF_NUM 0x02 |
#define | USBD_ITF_MAX_NUM 1 |
#define | USBD_ITF_MAX_NUM 1 |
#define | USBD_ITF_MAX_NUM 1 |
#define | USBD_ITF_MAX_NUM 1 |
#define | USBD_ITF_MAX_NUM 1 |
#define | USBD_ITF_MAX_NUM MAX_USED_MEDIA |
#define | USBD_ITF_MAX_NUM 1 |
#define | USBD_ITF_MAX_NUM 1 |
#define | USB_STR_DESC_MAX_SIZE 200 |
#define | USB_STR_DESC_MAX_SIZE 64 |
#define | USB_STR_DESC_MAX_SIZE 64 |
#define | USB_STR_DESC_MAX_SIZE 64 |
#define | AUDIO_OUT_EP EP1_OUT |
#define | USB_MAX_STR_DESC_SIZ 64 |
#define | USB_MAX_STR_DESC_SIZ 255 |
#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 | USB_SUPPORT_USER_STRING_DESC |
#define | CUSTOMHID_REPORT_DESC_SIZE 163 |
#define | CUSTOMHID_REPORT_DESC_SIZE 163 |
#define | CUSTOMHID_REPORT_DESC_SIZE 163 |
#define | CUSTOMHID_CONFIG_DESC_SIZE 41 |
#define | CUSTOMHID_CONFIG_DESC_SIZE 41 |
#define | CUSTOMHID_CONFIG_DESC_SIZE 41 |
#define | HID_IN_EP EP1_IN |
#define | HID_IN_EP EP1_IN |
#define | HID_IN_EP EP1_IN |
#define | HID_OUT_EP EP1_OUT |
#define | HID_OUT_EP EP1_OUT |
#define | HID_OUT_EP EP1_OUT |
#define | HID_IN_PACKET 2 |
#define | HID_IN_PACKET 4 |
#define | HID_IN_PACKET 2 |
#define | HID_OUT_PACKET 2 |
#define | HID_OUT_PACKET 4 |
#define | HID_OUT_PACKET 2 |
#define | CDC_IN_EP EP1_IN |
#define | CDC_IN_EP EP1_IN |
#define | CDC_OUT_EP EP3_OUT |
#define | CDC_OUT_EP EP3_OUT |
#define | CDC_CMD_EP EP2_IN |
#define | CDC_CMD_EP EP2_IN |
#define | CDC_DATA_MAX_PACKET_SIZE 64 |
#define | CDC_DATA_MAX_PACKET_SIZE 64 |
#define | CDC_CMD_PACKET_SIZE 8 |
#define | CDC_IN_FRAME_INTERVAL 5 |
#define | CDC_IN_FRAME_INTERVAL 5 |
#define | APP_RX_DATA_SIZE 2048 |
#define | APP_RX_DATA_SIZE 2048 |
#define | APP_FOPS VCP_fops |
#define | APP_FOPS VCP_fops |
#define | USB_MAX_STR_DESC_SIZE 64 |
#define | USB_MAX_STR_DESC_SIZE 200 |
#define | MSC_MAX_PACKET 64 |
#define | MSC_MAX_PACKET 64 |
#define | MSC_MEDIA_PACKET 512 |
#define | MSC_MEDIA_PACKET 512 |
#define | MSC_IN_EP EP2_IN |
#define | MSC_IN_EP EP1_IN |
#define | MSC_OUT_EP EP2_OUT |
#define | MSC_OUT_EP EP2_OUT |
#define | XFERSIZE 1024 |
#define | MAX_USED_MEDIA 1 |
#define | DFU_IN_EP EP0_IN |
#define | DFU_OUT_EP EP0_OUT |
#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 | CDC_CMD_PACKET_SZE 8 |
Detailed Description
Macro Definition Documentation
#define APP_RX_DATA_SIZE 2048 |
Total size of IN buffer: APP_RX_DATA_SIZE*8/MAX_BAUDARATE*1000 should be > CDC_IN_FRAME_INTERVAL
Definition at line 139 of file usbd_conf_template.h.
#define APP_RX_DATA_SIZE 2048 |
Total size of IN buffer: APP_RX_DATA_SIZE*8/MAX_BAUDARATE*1000 should be > CDC_IN_FRAME_INTERVAL
Definition at line 139 of file usbd_conf_template.h.
#define CDC_CMD_EP EP2_IN |
EP2 for CDC commands
Definition at line 133 of file usbd_conf_template.h.
#define CDC_CMD_EP EP2_IN |
EP2 for CDC commands
Definition at line 133 of file usbd_conf_template.h.
#define CDC_CMD_PACKET_SIZE 8 |
Control Endpoint Packet size
Definition at line 71 of file usbd_conf_template.h.
#define CDC_CMD_PACKET_SZE 8 |
Control Endpoint Packet size
Definition at line 137 of file usbd_conf_template.h.
#define CDC_DATA_MAX_PACKET_SIZE 64 |
Endpoint IN & OUT Packet size
Definition at line 136 of file usbd_conf_template.h.
#define CDC_DATA_MAX_PACKET_SIZE 64 |
Endpoint IN & OUT Packet size
Definition at line 136 of file usbd_conf_template.h.
#define CDC_IN_EP EP1_IN |
EP1 for data IN
Definition at line 131 of file usbd_conf_template.h.
#define CDC_IN_EP EP1_IN |
EP1 for data IN
Definition at line 131 of file usbd_conf_template.h.
#define CDC_IN_FRAME_INTERVAL 5 |
Number of frames between IN transfers
Definition at line 138 of file usbd_conf_template.h.
#define CDC_IN_FRAME_INTERVAL 5 |
Number of frames between IN transfers
Definition at line 138 of file usbd_conf_template.h.
#define CDC_OUT_EP EP3_OUT |
EP3 for data OUT
Definition at line 132 of file usbd_conf_template.h.
#define CDC_OUT_EP EP3_OUT |
EP3 for data OUT
Definition at line 132 of file usbd_conf_template.h.
#define MAX_USED_MEDIA 1 |
Maximum number of supported media (Flash)
Definition at line 108 of file usbd_conf_template.h.
#define TRANSFER_SIZE_BYTES | ( | size | ) |
Definition at line 117 of file usbd_conf_template.h.
#define XFERSIZE 1024 |
Max DFU Packet Size = 1024 bytes
Definition at line 107 of file usbd_conf_template.h.
Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by 1.8.8