|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
The USB Video Class device: descriptors, probe/commit negotiation and streaming of frames. Independent of the USB stack: the TinyUSB glue (UVCTinyUSB.h) and the platform layer (platform/UVCPlatform*.h headers) connect it to the hardware. More...
#include <atomic>#include <initializer_list>#include "UVCDescriptor.h"#include "UVCLogger.h"#include "UVCPayload.h"

Go to the source code of this file.
Classes | |
| struct | tinyuvc::platform::AppLock |
| Serializes app context calls into the USB stack against the USB task, for USB stacks that need that (a TINYUVC_PLATFORM_CUSTOM layer); a no-op on the supported platforms. More... | |
| struct | tinyuvc::UVCRequest |
| Setup request as seen by UVCDevice (independent of the USB stack) More... | |
| class | tinyuvc::UVCDevice |
| USB Video Class (UVC 1.1) device - a USB webcam. More... | |
Namespaces | |
| namespace | tinyuvc |
| TinyUVC: USB Video Class (UVC) device for Arduino and the desktop. | |
| namespace | tinyuvc::platform |
| Functions every platform layer (platform/UVCPlatform*.h) implements. | |
Enumerations | |
| enum class | tinyuvc::UVCControlResult : uint8_t { tinyuvc::Stall , tinyuvc::DataIn , tinyuvc::DataOut , tinyuvc::Status , tinyuvc::Handled } |
| What the USB glue has to do with a setup request. More... | |
Functions | |
| bool | tinyuvc::platform::begin (UVCDevice &dev) |
| Registers the UVC function with the USB stack (and starts it if needed) | |
| void | tinyuvc::platform::end (UVCDevice &dev) |
| Unregisters the UVC function, where the USB stack supports that. | |
| uint16_t | tinyuvc::platform::maxPacketSize () |
| Max packet size of the bulk endpoint (64 full speed, 512 high speed) | |
| void | tinyuvc::platform::idle () |
| Called while waiting: lets the USB stack make progress. | |
| uint32_t | tinyuvc::platform::millis () |
| uint32_t | tinyuvc::platform::micros () |
| uint8_t * | tinyuvc::platform::allocBuffer (size_t size) |
| Allocates the transfer buffer (DMA capable, aligned) | |
| void | tinyuvc::platform::freeBuffer (uint8_t *buf) |
The USB Video Class device: descriptors, probe/commit negotiation and streaming of frames. Independent of the USB stack: the TinyUSB glue (UVCTinyUSB.h) and the platform layer (platform/UVCPlatform*.h headers) connect it to the hardware.