18#ifndef __VSF_USBH_CDC_H__
19#define __VSF_USBH_CDC_H__
24#if VSF_USE_USB_HOST == ENABLED && VSF_USBH_USE_CDC == ENABLED
27#include "../../vsf_usbh.h"
29#if defined(__VSF_USBH_CDC_CLASS_IMPLEMENT)
30# define __VSF_CLASS_IMPLEMENT__
31#elif defined(__VSF_USBH_CDC_CLASS_INHERIT__)
32# define __VSF_CLASS_INHERIT__
85#if defined(__VSF_USBH_CDC_CLASS_IMPLEMENT) || defined(__VSF_USBH_CDC_CLASS_INHERIT__)
99#undef __VSF_USBH_CDC_CLASS_IMPLEMENT
100#undef __VSF_USBH_CDC_CLASS_INHERIT__
vsf_err_t
Definition __type.h:42
Definition vsf_usbh_CDC.h:58
Definition vsf_usbh.h:478
Definition vsf_usbh.h:523
Definition vsf_usbh.h:450
unsigned int uint32_t
Definition lvgl.h:43
unsigned char uint8_t
Definition lvgl.h:40
signed char int8_t
Definition lvgl.h:38
#define vsf_dcl_class
Definition ooc_class.h:46
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_usbh.h:228
Definition vsf_usbh.h:179
Definition vsf_usbh.h:299
int16_t vsf_evt_t
Definition vsf_eda.h:654
void vk_usbh_cdc_fini(vk_usbh_cdc_t *pthis)
Definition vsf_usbh_CDC.c:197
vsf_err_t vk_usbh_cdc_prepare_urb(vk_usbh_cdc_t *pthis, bool tx, vk_usbh_urb_t *urb)
Definition vsf_usbh_CDC.c:202
void vk_usbh_cdc_free_urb(vk_usbh_cdc_t *pthis, vk_usbh_urb_t *urb)
Definition vsf_usbh_CDC.c:221
vsf_err_t vk_usbh_cdc_init(vk_usbh_cdc_t *pthis, vk_usbh_t *usbh, vk_usbh_dev_t *dev, vk_usbh_ifs_parser_t *parser_ifs)
Definition vsf_usbh_CDC.c:96
vsf_err_t vk_usbh_cdc_submit_urb(vk_usbh_cdc_t *pthis, vk_usbh_urb_t *urb)
Definition vsf_usbh_CDC.c:216
void vk_usbh_cdc_evthandler(vsf_eda_t *eda, vsf_evt_t evt)
Definition vsf_usbh_CDC.c:38
vk_usbh_cdc_evt_t
Definition vsf_usbh_CDC.h:47
@ VSF_USBH_CDC_ON_INIT
Definition vsf_usbh_CDC.h:48
@ VSF_USBH_CDC_ON_RX
Definition vsf_usbh_CDC.h:51
@ VSF_USBH_CDC_ON_DESC
Definition vsf_usbh_CDC.h:49
@ VSF_USBH_CDC_ON_EVENT
Definition vsf_usbh_CDC.h:50
@ VSF_USBH_CDC_ON_TX
Definition vsf_usbh_CDC.h:52
vsf_err_t(* vk_usbh_cdc_evthandler_t)(vk_usbh_cdc_t *cdc, vk_usbh_cdc_evt_t evt, void *param)
Definition vsf_usbh_CDC.h:55