18#ifndef __VSF_USBD_UVC_H__
19#define __VSF_USBD_UVC_H__
25#if VSF_USE_USB_DEVICE == ENABLED && VSF_USBD_USE_UVC == ENABLED
27#include "../../../common/class/UVC/vsf_usb_UVC.h"
30#if defined(__VSF_USBD_UVC_CLASS_IMPLEMENT)
31# undef __VSF_USBD_UVC_CLASS_IMPLEMENT
32# define __VSF_CLASS_IMPLEMENT__
42#if VSF_USE_VIDEO != ENABLED
43# error "VSF_USE_VIDEO MUST be enabled to use uvc"
90#if VSF_USBD_UVC_CFG_TRACE_EN == ENABLED
vsf_err_t
Definition __type.h:42
Definition vsf_usbd.h:402
Definition vsf_usbd_UVC.h:73
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
unsigned int uint_fast32_t
Definition stdint.h:27
Definition vsf_usbd.h:379
Definition vsf_usbd_UVC.h:51
uint8_t selector
Definition vsf_usbd_UVC.h:52
uint16_t size
Definition vsf_usbd_UVC.h:53
vk_av_control_value_t def
Definition vsf_usbd_UVC.h:57
vk_av_control_value_t min
Definition vsf_usbd_UVC.h:55
vk_av_control_value_t max
Definition vsf_usbd_UVC.h:56
void(* on_set)(vk_usbd_uvc_control_t *control)
Definition vsf_usbd_UVC.h:59
Definition vsf_usbd_UVC.h:62
const vk_usbd_uvc_control_info_t * info
Definition vsf_usbd_UVC.h:63
vk_av_control_value_t cur
Definition vsf_usbd_UVC.h:64
Definition vsf_usbd_UVC.h:67
uint8_t id
Definition vsf_usbd_UVC.h:68
uint8_t control_num
Definition vsf_usbd_UVC.h:69
vk_usbd_uvc_control_t * control
Definition vsf_usbd_UVC.h:70
uint32_t size
Definition vsf_memfs.h:50
vsf_err_t vk_usbd_uvc_send_packet(vk_usbd_uvc_t *uvc, uint8_t *buffer, uint_fast32_t size)
const vk_usbd_class_op_t vk_usbd_uvc_control_class
const vk_usbd_class_op_t vk_usbd_uvc_stream_class