dxd - dynax driver framework  2979
cross platform open source driver development framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock Struct Reference

#include <dx_stream.h>

Public Member Functions

std::string describe (unsigned int samplerate=0) const
 
unsigned int interval (unsigned int samplerate) const
 returns clock interval in samples More...
 

Static Public Member Functions

static std::string describe (unsigned int interval, unsigned int ticks)
 describes config as channels*format/[in|out] #idx:plug More...
 

Public Attributes

dx::stream::clock::bitmap bitmap
 supported sample rates bit field More...
 
struct {
   struct {
      unsigned int   hw_min_ticks
 min user iosize in HW clock ticks More...
 
      unsigned int   hw_ticks
 default user iosize in HW clock ticks More...
 
   }   iosize
 
   unsigned int   safety_offset [2]
 default safety_offset[out|in] More...
 
   unsigned int   samplerate
 default sample rate More...
 
defaults
 
char name [0x60]
 
unsigned int resolution
 

Member Function Documentation

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
static std::string dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::describe ( unsigned int  interval,
unsigned int  ticks 
)
inlinestatic

describes config as channels*format/[in|out] #idx:plug

+ Here is the caller graph for this function:

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
std::string dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::describe ( unsigned int  samplerate = 0) const
inline

+ Here is the call graph for this function:

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::interval ( unsigned int  samplerate) const
inline

returns clock interval in samples

+ Here is the caller graph for this function:

Member Data Documentation

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
dx::stream::clock::bitmap dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::bitmap

supported sample rates bit field

struct { ... } dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::defaults
template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::hw_min_ticks

min user iosize in HW clock ticks

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::hw_ticks

default user iosize in HW clock ticks

struct { ... } dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::iosize
template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
char dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::name[0x60]
template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::resolution

clock ticks per second

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::safety_offset[2]

default safety_offset[out|in]

template<typename target_t, int max_clocks = 2, int max_streams = 2, int max_configurations = 1, int max_pins = 8, typename vendor_t = void_struct>
unsigned int dx::stream::desc< target_t, max_clocks, max_streams, max_configurations, max_pins, vendor_t >::clock::samplerate

default sample rate


The documentation for this struct was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on Fri Nov 8 2019

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.