APM:Libraries
Macros
USB_VCP_Class_Layer_Parameter
Collaboration diagram for USB_VCP_Class_Layer_Parameter:

Macros

#define CDC_IN_EP   0x81 /* EP1 for data IN */
 
#define CDC_OUT_EP   0x01 /* EP1 for data OUT */
 
#define CDC_CMD_EP   0x82 /* EP2 for CDC commands */
 
#define CDC_DATA_MAX_PACKET_SIZE   64 /* Endpoint IN & OUT Packet size */
 
#define CDC_CMD_PACKET_SZE   8 /* Control Endpoint Packet size */
 
#define CDC_IN_FRAME_INTERVAL   5 /* Number of frames between IN transfers */
 
#define APP_RX_DATA_SIZE
 
#define APP_FOPS   VCP_fops
 
#define MSC_IN_EP   0x81
 
#define MSC_OUT_EP   0x01
 
#define MSC_MAX_PACKET   64
 
#define MSC_MEDIA_PACKET   4096
 

Detailed Description

Macro Definition Documentation

◆ APP_FOPS

#define APP_FOPS   VCP_fops

Definition at line 69 of file usbd_conf.h.

◆ APP_RX_DATA_SIZE

#define APP_RX_DATA_SIZE
Value:
2048 /* Total size of IN buffer:
APP_RX_DATA_SIZE*8/MAX_BAUDARATE*1000 should be > CDC_IN_FRAME_INTERVAL */

Definition at line 65 of file usbd_conf.h.

◆ CDC_CMD_EP

#define CDC_CMD_EP   0x82 /* EP2 for CDC commands */

Definition at line 50 of file usbd_conf.h.

Referenced by usbd_cdc_DeInit(), and usbd_cdc_Init().

◆ CDC_CMD_PACKET_SZE

#define CDC_CMD_PACKET_SZE   8 /* Control Endpoint Packet size */

Definition at line 62 of file usbd_conf.h.

Referenced by usbd_cdc_Init().

◆ CDC_DATA_MAX_PACKET_SIZE

#define CDC_DATA_MAX_PACKET_SIZE   64 /* Endpoint IN & OUT Packet size */

Definition at line 61 of file usbd_conf.h.

◆ CDC_IN_EP

#define CDC_IN_EP   0x81 /* EP1 for data IN */

Definition at line 48 of file usbd_conf.h.

Referenced by schedule_cdc_in(), usbd_cdc_DataIn(), usbd_cdc_DeInit(), and usbd_cdc_Init().

◆ CDC_IN_FRAME_INTERVAL

#define CDC_IN_FRAME_INTERVAL   5 /* Number of frames between IN transfers */

Definition at line 64 of file usbd_conf.h.

Referenced by usbd_cdc_SOF().

◆ CDC_OUT_EP

#define CDC_OUT_EP   0x01 /* EP1 for data OUT */

Definition at line 49 of file usbd_conf.h.

Referenced by try_start_rx(), usbd_cdc_DeInit(), and usbd_cdc_Init().

◆ MSC_IN_EP

#define MSC_IN_EP   0x81

◆ MSC_MAX_PACKET

#define MSC_MAX_PACKET   64

Definition at line 93 of file usbd_conf.h.

◆ MSC_MEDIA_PACKET

#define MSC_MEDIA_PACKET   4096

Definition at line 97 of file usbd_conf.h.

Referenced by SCSI_ProcessRead(), SCSI_ProcessWrite(), SCSI_Read10(), SCSI_Write10(), and usb_task().

◆ MSC_OUT_EP

#define MSC_OUT_EP   0x01