|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
The generic TinyUSB platform layer, for every board that uses the Adafruit TinyUSB Library (Adafruit_USBD_Device): RP2040/RP2350 with Tools > USB Stack > "Adafruit TinyUSB", STM32 (OTG_FS, e.g. F4/F7/H7), SAMD, nRF52 - and optionally the ESP32 (TINYUVC_USE_ADAFRUIT_TINYUSB). The camera is added as an additional interface next to the other interfaces of the device (e.g. the USB serial port). More...


Go to the source code of this file.
Classes | |
| class | tinyuvc::platform::UVCTinyUSBInterface |
| The camera as interface of Adafruit_USBD_Device. 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. | |
Functions | |
| uint16_t | tinyuvc::platform::maxPacketSize () |
| Max packet size of the bulk endpoint (64 full speed, 512 high speed) | |
| UVCTinyUSBInterface & | tinyuvc::platform::tinyusbInterface () |
| 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. | |
| 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 generic TinyUSB platform layer, for every board that uses the Adafruit TinyUSB Library (Adafruit_USBD_Device): RP2040/RP2350 with Tools > USB Stack > "Adafruit TinyUSB", STM32 (OTG_FS, e.g. F4/F7/H7), SAMD, nRF52 - and optionally the ESP32 (TINYUVC_USE_ADAFRUIT_TINYUSB). The camera is added as an additional interface next to the other interfaces of the device (e.g. the USB serial port).