Device Sample Format#
Data passed over the read or write streams are transmitted in unit packets, or “samples”.
Read Samples#
These are the samples produced by the devices and sent through the read stream to the controller. Read samples MUST have the following format:
uint64 hubclk_cnt
var payload
hubclk_cnt
: Hub Clock Counter. This is the common counter for all devices in a Hub, indicating the time of sample capture.payload
: Device-specific data. This data MUST be Read Sample Size - 8 bytes long.
Write samples#
These are the samples generated by the host and sent to the devices trough the write stream. Write samples MUST have the following format.
var payload
payload
: Device-specific data. This data MUST be Write Sample Size bytes long.