|
TinyUVC 0.1.0
Header-only USB Video Class (UVC) device: turn an MCU into a USB webcam
|
What the device side did, as seen by the simulated USB core. More...
#include <TinyUSBSim.h>
Public Member Functions | |
| void | resetControl () |
| void | resetEndpoint () |
Public Attributes | |
| uint8_t | openEndpoint = 0 |
| uint16_t | openMaxPacketSize = 0 |
| bool | claimed = false |
| bool | busy = false |
| uint8_t * | xferBuf = nullptr |
| uint16_t | xferLen = 0 |
| bool | failNextXfer = false |
| test hook: next usbd_edpt_xfer() fails | |
| bool | ctrlXfer = false |
| bool | ctrlStatus = false |
| uint8_t * | ctrlBuf = nullptr |
| uint16_t | ctrlLen = 0 |
| void(* | pump )(void *ref) = nullptr |
| void * | pumpRef = nullptr |
What the device side did, as seen by the simulated USB core.
|
inline |
|
inline |
| uint16_t tinyuvc::UVCSimBus::ctrlLen = 0 |
test hook: next usbd_edpt_xfer() fails
| uint8_t tinyuvc::UVCSimBus::openEndpoint = 0 |
| uint16_t tinyuvc::UVCSimBus::openMaxPacketSize = 0 |
Called by UVCDevice::waitReady() via platform::idle(): lets the simulated host read the pending transfer
| uint16_t tinyuvc::UVCSimBus::xferLen = 0 |