Zephyr API Documentation 4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbd_uvc.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) tinyVision.ai Inc.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
10
11#ifndef ZEPHYR_INCLUDE_USB_CLASS_USBD_UVC_H
12#define ZEPHYR_INCLUDE_USB_CLASS_USBD_UVC_H
13
14#include <zephyr/device.h>
16
27
43void uvc_device_init(const struct device *uvc_dev, const struct device *video_dev);
44
60int uvc_device_add_format(const struct device *const uvc_dev, const struct video_format *const fmt);
61
72int uvc_device_enable(const struct device *const uvc_dev);
73
82int uvc_device_shutdown(const struct device *const uvc_dev);
83
87
88#endif /* ZEPHYR_INCLUDE_USB_CLASS_USBD_UVC_H */
Main header file for video driver API.
void uvc_device_init(const struct device *uvc_dev, const struct device *video_dev)
Initialize a video device class.
int uvc_device_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.
int uvc_device_shutdown(const struct device *const uvc_dev)
Withdraw the configuration of an UVC device instance.
int uvc_device_enable(const struct device *const uvc_dev)
Completes the configuration of an UVC device instance.
Runtime device structure (in ROM) per driver instance.
Definition device.h:513
Video format structure.
Definition video.h:71