VSF Documented
Macros
vsf_usbd_CDCNCM_desc.h File Reference

Go to the source code of this file.

Macros

#define USB_DESC_CDC_NCM3(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES, __MC_FITER_NUM, __PWR_FILTER_NUM)
 
#define USB_DESC_CDC_NCM2(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES, __MC_FITER_NUM)
 
#define USB_DESC_CDC_NCM1(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES)
 
#define USB_DESC_CDC_NCM0(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE)
 
#define USB_DESC_CDC_NCM(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, ...)
 
#define USB_DESC_CDC_NCM_LEN
 
#define USB_DESC_CDC_NCM_IAD(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, ...)
 
#define USB_DESC_CDC_NCM_IAD_LEN   (USB_DESC_IAD_LEN + USB_DESC_CDC_NCM_LEN)
 

Macro Definition Documentation

◆ USB_DESC_CDC_NCM3

#define USB_DESC_CDC_NCM3 (   __IFS_START,
  __I_FUNC,
  __INT_IN_EP,
  __BULK_IN_EP,
  __BULK_OUT_EP,
  __BULK_EP_SIZE,
  __INT_EP_INTERVAL,
  __I_MAC,
  __MAX_SEG_SIZE,
  __NETWORK_CAPABILITIES,
  __MC_FITER_NUM,
  __PWR_FILTER_NUM 
)

◆ USB_DESC_CDC_NCM2

#define USB_DESC_CDC_NCM2 (   __IFS_START,
  __I_FUNC,
  __INT_IN_EP,
  __BULK_IN_EP,
  __BULK_OUT_EP,
  __BULK_EP_SIZE,
  __INT_EP_INTERVAL,
  __I_MAC,
  __MAX_SEG_SIZE,
  __NETWORK_CAPABILITIES,
  __MC_FITER_NUM 
)
Value:
USB_DESC_CDC_NCM3(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL,\
__I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES, __MC_FITER_NUM, 0)
#define USB_DESC_CDC_NCM3(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES, __MC_FITER_NUM, __PWR_FILTER_NUM)
Definition vsf_usbd_CDCNCM_desc.h:32

◆ USB_DESC_CDC_NCM1

#define USB_DESC_CDC_NCM1 (   __IFS_START,
  __I_FUNC,
  __INT_IN_EP,
  __BULK_IN_EP,
  __BULK_OUT_EP,
  __BULK_EP_SIZE,
  __INT_EP_INTERVAL,
  __I_MAC,
  __MAX_SEG_SIZE,
  __NETWORK_CAPABILITIES 
)
Value:
USB_DESC_CDC_NCM2(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL,\
__I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES, 0)
#define USB_DESC_CDC_NCM2(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES, __MC_FITER_NUM)
Definition vsf_usbd_CDCNCM_desc.h:67

◆ USB_DESC_CDC_NCM0

#define USB_DESC_CDC_NCM0 (   __IFS_START,
  __I_FUNC,
  __INT_IN_EP,
  __BULK_IN_EP,
  __BULK_OUT_EP,
  __BULK_EP_SIZE,
  __INT_EP_INTERVAL,
  __I_MAC,
  __MAX_SEG_SIZE 
)
Value:
USB_DESC_CDC_NCM1(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL,\
__I_MAC, __MAX_SEG_SIZE, 0)
#define USB_DESC_CDC_NCM1(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE, __NETWORK_CAPABILITIES)
Definition vsf_usbd_CDCNCM_desc.h:71

◆ USB_DESC_CDC_NCM

#define USB_DESC_CDC_NCM (   __IFS_START,
  __I_FUNC,
  __INT_IN_EP,
  __BULK_IN_EP,
  __BULK_OUT_EP,
  __BULK_EP_SIZE,
  __INT_EP_INTERVAL,
  __I_MAC,
  __MAX_SEG_SIZE,
  ... 
)
Value:
__PLOOC_EVAL(USB_DESC_CDC_NCM, __VA_ARGS__) \
(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL,\
__I_MAC, __MAX_SEG_SIZE, ##__VA_ARGS__)
#define USB_DESC_CDC_NCM(__IFS_START, __I_FUNC, __INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP, __BULK_EP_SIZE, __INT_EP_INTERVAL, __I_MAC, __MAX_SEG_SIZE,...)
Definition vsf_usbd_CDCNCM_desc.h:82

◆ USB_DESC_CDC_NCM_LEN

#define USB_DESC_CDC_NCM_LEN
Value:
#define USB_DT_ENDPOINT_SIZE
Definition usb_common.h:50
#define USB_DT_INTERFACE_SIZE
Definition usb_common.h:49

◆ USB_DESC_CDC_NCM_IAD

#define USB_DESC_CDC_NCM_IAD (   __IFS_START,
  __I_FUNC,
  __INT_IN_EP,
  __BULK_IN_EP,
  __BULK_OUT_EP,
  __BULK_EP_SIZE,
  __INT_EP_INTERVAL,
  __I_MAC,
  ... 
)
Value:
USB_DESC_IAD((__IFS_START), 2, USB_CLASS_COMM, 0x0D, 0x00, (__I_FUNC))\
USB_DESC_CDC_NCM((__IFS_START), (__I_FUNC), (__INT_IN_EP), (__BULK_IN_EP), (__BULK_OUT_EP), (__BULK_EP_SIZE), (__INT_EP_INTERVAL),\
__I_MAC, ##__VA_ARGS__)
@ USB_CLASS_COMM
Definition usb_common.h:129
#define USB_DESC_IAD(__IFS_START, __IFS_NUM, __CLASS, __SUBCLASS, __PROTOCOL, __I_FUNC)
Definition usb_desc.h:81

◆ USB_DESC_CDC_NCM_IAD_LEN

#define USB_DESC_CDC_NCM_IAD_LEN   (USB_DESC_IAD_LEN + USB_DESC_CDC_NCM_LEN)