VSF Documented
|
#include "component/usb/vsf_usb_cfg.h"
#include "component/tcpip/vsf_tcpip.h"
#include "component/usb/common/class/CDC/vsf_usb_CDCECM.h"
#include "component/usb/common/class/CDC/vsf_usb_CDCNCM.h"
#include "./vsf_usbd_CDCNCM_desc.h"
#include "utilities/ooc_class.h"
Go to the source code of this file.
Data Structures | |
class | vk_usbd_cdcncm_t |
Macros | |
#define | VSF_USBD_CDCNCM_SUPPORT_NTB32 ENABLED |
#define | VSF_USBD_CDCNCM_CFG_MAX_NTB_IN_SIZE (4 * 1024) |
#define | VSF_USBD_CDCNCM_CFG_MAX_NTB_OUT_SIZE (4 * 1024) |
#define | USB_CDC_NCM_PARAM(__INT_IN_EP, __BULK_IN_EP, __BULK_OUT_EP) |
#define | USB_CDC_NCM_IFS_NUM USB_CDC_IFS_NUM |
#define | USB_CDC_NCM_IFS_CONTROL(__CDC_NCM_PARAM) USB_IFS(&vk_usbd_cdcncm_control, &__CDC_NCM_PARAM) |
#define | USB_CDC_NCM_IFS_DATA(__CDC_NCM_PARAM) USB_IFS(&vk_usbd_cdcncm_data, &__CDC_NCM_PARAM) |
#define | __usbd_cdc_ncm_desc_iad(__name, __ifs_start, __i_func, __int_in_ep, __bulk_in_ep, __bulk_out_ep, __bulk_ep_size, __int_ep_interval, __i_mac, __max_datagram_size, ...) |
#define | __usbd_cdc_ncm_func1(__name, __func_id, __str_func, __i_func, __ifs_start, __int_in_ep, __bulk_in_ep, __bulk_out_ep, __bulk_ep_size, __int_ep_interval, __i_mac, __str_mac, __max_datagram_size) |
#define | __usbd_cdc_ncm_func0(__name, __func_id, __str_func, __i_func, __ifs_start, __int_in_ep, __bulk_in_ep, __bulk_out_ep, __bulk_ep_size, __int_ep_interval, __i_mac, __str_mac) |
#define | __usbd_cdc_ncm_func(__name, __func_id, __str_func, __i_func, __ifs_start, __int_in_ep, __bulk_in_ep, __bulk_out_ep, __bulk_ep_size, __int_ep_interval, __i_mac, __str_mac, ...) |
#define | __usbd_cdc_ncm_ifs(__name, __func_id) |
#define | usbd_cdc_ncm_desc_iad(__name, __func_id, ...) |
#define | usbd_cdc_ncm_desc_table(__name, __func_id) |
#define | usbd_cdc_ncm_func(__name, __func_id, __str_func, __i_func, __ifs_start, __int_in_ep, __bulk_in_ep, __bulk_out_ep, __bulk_ep_size, __int_ep_interval, __i_mac, __str_mac, ...) |
#define | usbd_cdc_ncm_ifs(__name, __func_id) __usbd_cdc_ncm_ifs(__name, __func_id) |
#define | usbd_cdcncm_desc_iad(...) usbd_cdc_ncm_desc_iad(__VA_ARGS__) |
#define | usbd_cdcncm_desc_table(...) usbd_cdc_ncm_desc_table(__VA_ARGS__) |
#define | usbd_cdcncm_func(...) usbd_cdc_ncm_func(__VA_ARGS__) |
#define | usbd_cdcncm_ifs(...) usbd_cdc_ncm_ifs(__VA_ARGS__) |
Variables | |
const vk_usbd_class_op_t | vk_usbd_cdcncm_control |
const vk_usbd_class_op_t | vk_usbd_cdcncm_data |
#define VSF_USBD_CDCNCM_SUPPORT_NTB32 ENABLED |
#define VSF_USBD_CDCNCM_CFG_MAX_NTB_IN_SIZE (4 * 1024) |
#define VSF_USBD_CDCNCM_CFG_MAX_NTB_OUT_SIZE (4 * 1024) |
#define USB_CDC_NCM_PARAM | ( | __INT_IN_EP, | |
__BULK_IN_EP, | |||
__BULK_OUT_EP | |||
) |
#define USB_CDC_NCM_IFS_NUM USB_CDC_IFS_NUM |
#define USB_CDC_NCM_IFS_CONTROL | ( | __CDC_NCM_PARAM | ) | USB_IFS(&vk_usbd_cdcncm_control, &__CDC_NCM_PARAM) |
#define USB_CDC_NCM_IFS_DATA | ( | __CDC_NCM_PARAM | ) | USB_IFS(&vk_usbd_cdcncm_data, &__CDC_NCM_PARAM) |
#define __usbd_cdc_ncm_desc_iad | ( | __name, | |
__ifs_start, | |||
__i_func, | |||
__int_in_ep, | |||
__bulk_in_ep, | |||
__bulk_out_ep, | |||
__bulk_ep_size, | |||
__int_ep_interval, | |||
__i_mac, | |||
__max_datagram_size, | |||
... | |||
) |
#define __usbd_cdc_ncm_func1 | ( | __name, | |
__func_id, | |||
__str_func, | |||
__i_func, | |||
__ifs_start, | |||
__int_in_ep, | |||
__bulk_in_ep, | |||
__bulk_out_ep, | |||
__bulk_ep_size, | |||
__int_ep_interval, | |||
__i_mac, | |||
__str_mac, | |||
__max_datagram_size | |||
) |
#define __usbd_cdc_ncm_func0 | ( | __name, | |
__func_id, | |||
__str_func, | |||
__i_func, | |||
__ifs_start, | |||
__int_in_ep, | |||
__bulk_in_ep, | |||
__bulk_out_ep, | |||
__bulk_ep_size, | |||
__int_ep_interval, | |||
__i_mac, | |||
__str_mac | |||
) |
#define __usbd_cdc_ncm_func | ( | __name, | |
__func_id, | |||
__str_func, | |||
__i_func, | |||
__ifs_start, | |||
__int_in_ep, | |||
__bulk_in_ep, | |||
__bulk_out_ep, | |||
__bulk_ep_size, | |||
__int_ep_interval, | |||
__i_mac, | |||
__str_mac, | |||
... | |||
) |
#define __usbd_cdc_ncm_ifs | ( | __name, | |
__func_id | |||
) |
#define usbd_cdc_ncm_desc_iad | ( | __name, | |
__func_id, | |||
... | |||
) |
#define usbd_cdc_ncm_desc_table | ( | __name, | |
__func_id | |||
) |
#define usbd_cdc_ncm_func | ( | __name, | |
__func_id, | |||
__str_func, | |||
__i_func, | |||
__ifs_start, | |||
__int_in_ep, | |||
__bulk_in_ep, | |||
__bulk_out_ep, | |||
__bulk_ep_size, | |||
__int_ep_interval, | |||
__i_mac, | |||
__str_mac, | |||
... | |||
) |
#define usbd_cdc_ncm_ifs | ( | __name, | |
__func_id | |||
) | __usbd_cdc_ncm_ifs(__name, __func_id) |
#define usbd_cdcncm_desc_iad | ( | ... | ) | usbd_cdc_ncm_desc_iad(__VA_ARGS__) |
#define usbd_cdcncm_desc_table | ( | ... | ) | usbd_cdc_ncm_desc_table(__VA_ARGS__) |
#define usbd_cdcncm_func | ( | ... | ) | usbd_cdc_ncm_func(__VA_ARGS__) |
#define usbd_cdcncm_ifs | ( | ... | ) | usbd_cdc_ncm_ifs(__VA_ARGS__) |
|
extern |
|
extern |