Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
|
4.2.99 |
USB Video Class (UVC) device API. More...
Functions | |
void | uvc_set_video_dev (const struct device *uvc_dev, const struct device *video_dev) |
Set the video device that a UVC instance will use. |
USB Video Class (UVC) device API.
#include <zephyr/usb/class/usbd_uvc.h>
Set the video device that a UVC instance will use.
It will query its supported controls, formats and frame rates, and use this information to generate USB descriptors sent to the host.
At runtime, it will forward all USB controls from the host to this device.
uvc_dev | The UVC device |
video_dev | The video device that this UVC instance controls |