Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_uvc.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 tinyVision.ai Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
11
12#ifndef ZEPHYR_INCLUDE_USB_CLASS_USBD_UVC_H
13#define ZEPHYR_INCLUDE_USB_CLASS_USBD_UVC_H
14
15#include <zephyr/device.h>
16
27
41void uvc_set_video_dev(const struct device *uvc_dev, const struct device *video_dev);
42
58int uvc_add_format(const struct device *const uvc_dev, const struct video_format *const fmt);
59
63
64#endif /* ZEPHYR_INCLUDE_USB_CLASS_USBD_UVC_H */
int uvc_add_format(const struct device *const uvc_dev, const struct video_format *const fmt)
Add a video format that a UVC instance will present to the host.
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 for control requests.
Runtime device structure (in ROM) per driver instance.
Definition device.h:510
Video format structure.
Definition video.h:59