|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
Writes the UVC function descriptors (everything that belongs into the configuration descriptor after its 9 byte header). More...
#include <UVCDescriptor.h>
Static Public Member Functions | |
| static uint16_t | length (const UVCDescriptorParams &p) |
| Length in bytes of the descriptors for the given parameters. | |
| static uint16_t | build (const UVCDescriptorParams &p, uint8_t *buf, uint16_t bufLen) |
Static Public Attributes | |
| static constexpr uint8_t | kInterfaceCount = 2 |
| Number of interfaces the function uses. | |
| static constexpr uint32_t | kClockFrequency = 1000000 |
| dwClockFrequency reported in the headers: 1 MHz (PTS in microseconds) | |
Writes the UVC function descriptors (everything that belongs into the configuration descriptor after its 9 byte header).
|
inlinestatic |
Writes the descriptors into buf (if not null) and returns their length; returns 0 if the buffer is too small.
|
inlinestatic |
Length in bytes of the descriptors for the given parameters.
dwClockFrequency reported in the headers: 1 MHz (PTS in microseconds)
Number of interfaces the function uses.