#include "scarab_api.hh"
#include <cmath>
#include <type_traits>
Go to the source code of this file.
|
template<typename condition > |
using | enable_if_signed = typename std::enable_if< condition::value, detail::is_signed >::type |
|
template<typename condition > |
using | enable_if_unsigned = typename std::enable_if< condition::value, detail::is_unsigned >::type |
|
|
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 , enable_if_unsigned< std::is_unsigned< dig_type > > ...> |
an_type | d2a (dig_type dig, const struct dig_calib_params *params) |
|
template<typename an_type , typename dig_type , enable_if_unsigned< std::is_unsigned< dig_type > > ...> |
dig_type | a2d (an_type analog, const struct dig_calib_params *params) |
|