SPUC
3.0
|
An A/D conversion class. More...
#include <a_d.h>
Public Member Functions | |
a_d (char h=8) | |
Constructor. More... | |
long | clock (float_type x) |
Quantize and limit signal to size bits. More... | |
complex< long > | clock (complex< float_type > x) |
Protected Attributes | |
char | size |
long | max |
Number of bits <= 8. More... | |
long | min |
An A/D conversion class.
Bit width is specified in constructor. Default is 8 bits. Handles real and complex samples
long SPUC::a_d::clock | ( | float_type | x | ) |
Quantize and limit signal to size bits.
Referenced by clock(), SPUC::sim_qpsk< Numeric >::step(), and SPUC::sim_qam< Numeric >::step().
complex< long > SPUC::a_d::clock | ( | complex< float_type > | x | ) |
|
protected |
Referenced by a_d().