template<typename target_t = void_struct, int max_streams = 2, int max_pins = 1, int max_clock_settings = 1, int max_clocks = 1, int max_configurations = 1>
struct dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::config
dx::desc::stream::config interface descriptor
A stream can have various configuration with varying supported samples rates, number of channels and data formats.
- Todo
- move target from stream to stream::config to relate USB alternate interface settings to the configuration
template<typename target_t = void_struct, int max_streams = 2, int max_pins = 1, int max_clock_settings = 1, int max_clocks = 1, int max_configurations = 1>
std::string dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::config::describe |
( |
| ) |
const |
|
inline |
describes config as channels* worldlength [buffered] granularity transactions size clock domain
template<typename target_t = void_struct, int max_streams = 2, int max_pins = 1, int max_clock_settings = 1, int max_clocks = 1, int max_configurations = 1>
uint32_t dx::stream::desc< target_t, max_streams, max_pins, max_clock_settings, max_clocks, max_configurations >::stream::config::channels |
amount of channels in interface (forms the transaction::size together with wordlength and granularity)