dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::usb::isoc Namespace Reference

the isochronous transfer as both platforms describe it, frame by frame More...

Classes

struct  correlation
 the bus frame clock's correlation with the timestamp clock, the same in every environment: which frame the tick serves, where the wire is now, when a frame starts More...
union  frame
 one frame of a request: what was asked for, what the controller delivered and its status - laid over the platform's own frame structure, so a request is filled once and submitted as it stands More...
class  pipeline
 one clock domain endpoint's request pipeline and data move over the slots of a round, the same in every environment More...
struct  result
 completed asynchronous isoc request, as pulled by a platform pipe's poll() More...
struct  session
 the streaming session's tick over a group's pipelines, the same in every environment More...

Enumerations

enum  { max_micro_frames = 8 , ticks_per_sec = 1000 , max_requests = 0x40 }

Functions

template<typename desc_t>
uint64_t allocation(const desc_t& desc, const typename desc_t::configuration& value, const void* configuration, size_t length, bool high) noexcept
constexpr uint64_t time(bool high, bool in, bool isochronous, uint16_t wMaxPacketSize)
 the bus time the host reserves for a periodic endpoint - isochronous, else interrupt - per (micro) frame, in ns: USB 2.0 5.11.3 at worst case bit stuffing (7/6), no host delay - a high speed endpoint's additional transactions each

Detailed Description

the isochronous transfer as both platforms describe it, frame by frame

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
max_micro_frames 
ticks_per_sec 
max_requests 

Function Documentation

◆ allocation()

template<typename desc_t>
uint64_t dx::usb::isoc::allocation(const desc_t& desc, const typename desc_t::configuration& value, const void* configuration, size_t length, bool high)
noexcept

the periodic bus time a device configuration takes, in ns: every periodic endpoint of every interface in the setting it stands at - the one a running stream is carried in, whichever of its streams it carries, else alternate setting 0, where the configuration put it; an interrupt endpoint polled less often than every frame counts in each

Here is the call graph for this function:
Here is the caller graph for this function:

◆ time()

uint64_t dx::usb::isoc::time(bool high, bool in, bool isochronous, uint16_t wMaxPacketSize)
constexpr

the bus time the host reserves for a periodic endpoint - isochronous, else interrupt - per (micro) frame, in ns: USB 2.0 5.11.3 at worst case bit stuffing (7/6), no host delay - a high speed endpoint's additional transactions each

Here is the call graph for this function:
Here is the caller graph for this function: