18#ifndef __VSF_USBH_UVC_H__
19#define __VSF_USBH_UVC_H__
26#if VSF_USE_USB_HOST == ENABLED && VSF_USBH_USE_UVC == ENABLED
31#if defined(__VSF_USBH_UVC_CLASS_IMPLEMENT)
32# undef __VSF_USBH_UVC_CLASS_IMPLEMENT
33# define __VSF_CLASS_IMPLEMENT__
36# define PUBLIC_CONST const
47#ifndef VSF_USBH_UVC_CFG_URB_NUM_PER_STREAM
48# define VSF_USBH_UVC_CFG_URB_NUM_PER_STREAM 1
50#if VSF_USBH_UVC_CFG_URB_NUM_PER_STREAM > 8
51# error VSF_USBH_UVC_CFG_URB_NUM_PER_STREAM MUST be <= 8
54#if VSF_USE_SIMPLE_STREAM != ENABLED
55# error VSF_USE_SIMPLE_STREAM is needed for USBH UVC driver
vsf_err_t
Definition __type.h:42
Definition vsf_usbh.h:268
Definition vsf_simple_stream.h:254
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
signed short int16_t
Definition lvgl.h:42
unsigned char uint8_t
Definition lvgl.h:40
unsigned char uint_fast8_t
Definition stdint.h:23
unsigned short uint_fast16_t
Definition stdint.h:25
Definition usb_common.h:85
uint32_t size
Definition vsf_memfs.h:50
int16_t vsf_usbh_uvc_get_desc(uint8_t *buf, uint_fast16_t size, uint_fast8_t subtype, void **ptr)
Definition vsf_usbh_uvc.c:132
void vsf_usbh_uvc_disconnect_stream(void *param)
Definition vsf_usbh_uvc.c:196
vsf_err_t __vsf_usbh_uvc_submit_req(void *uvc_ptr, void *data, struct usb_ctrlrequest_t *req)
Definition vsf_usbh_uvc.c:163
usb_uvc_format_desc_t * vsf_usbh_uvc_get_format(void *param, uint_fast8_t format_idx)
Definition vsf_usbh_uvc.c:155
const vk_usbh_class_drv_t vk_usbh_uvc_drv
Definition vsf_usbh_uvc.c:122
vsf_err_t vsf_usbh_uvc_connect_stream(void *param, uint_fast8_t format_idx, uint_fast8_t frame_idx, vsf_stream_t *stream)
Definition vsf_usbh_uvc.c:178