Scarab  v2.2.3
Project 8 C++ Utility Library
Classes | Namespaces | Functions
digital.hh File Reference
#include "scarab_api.hh"
Include dependency graph for digital.hh:

Go to the source code of this file.

Classes

struct  dig_calib_params
 

Namespaces

 scarab
 

Functions

void get_calib_params (unsigned n_bits, unsigned data_type_size, double v_offset, double v_range, bool bits_r_aligned, dig_calib_params *params)
 
void get_calib_params2 (unsigned n_bits, unsigned data_type_size, double v_offset, double v_range, double dac_gain, bool bits_r_aligned, dig_calib_params *params)
 
template<typename dig_type , typename an_type >
an_type d2a (dig_type dig, const struct dig_calib_params *params)
 
template<typename an_type , typename dig_type >
dig_type a2d (an_type analog, const struct dig_calib_params *params)