Software APIs
Data Fields
usbdev_stream_cb_ctx_t Struct Reference

Context state for callback function; callback is stream-specific but also needs to locate the enclosing streaming context. More...

#include <sw/device/lib/testing/usb_testutils_streams.h>

Data Fields

usb_testutils_streams_ctx_tctx
 Pointer to the enclosing streaming context; callback functions receive only per-stream pointer.
 
usbdev_stream_ts
 Pointer to the stream itself.
 

Detailed Description

Context state for callback function; callback is stream-specific but also needs to locate the enclosing streaming context.

Definition at line 224 of file usb_testutils_streams.h.

Field Documentation

◆ ctx

usb_testutils_streams_ctx_t* usbdev_stream_cb_ctx_t::ctx

Pointer to the enclosing streaming context; callback functions receive only per-stream pointer.

Definition at line 229 of file usb_testutils_streams.h.

◆ s

usbdev_stream_t* usbdev_stream_cb_ctx_t::s

Pointer to the stream itself.

Definition at line 233 of file usb_testutils_streams.h.