Simple 1st order All-digital Sigma Delta converter.
More...
#include <sigdel.h>
List of all members.
|
Public Member Functions |
| sigma_delta (char nin=8, char nout=1) |
| Constructor.
|
signed char | single (signed long in) |
| Output <= 8 bits.
|
Public Attributes |
unsigned char | nbit_out |
unsigned char | nbit_in |
Protected Attributes |
signed long | in |
signed long | acc |
unsigned long | mask |
Detailed Description
Simple 1st order All-digital Sigma Delta converter.
All-digital sigma delta converter Performs Sigma Delta function in digital domain for use when output will go to a (nbit_out) D/A converter. Default is 8 bits in, 1 bit out. After construction, call single() to get output. Multirate performed by calling single() with same input at the higher sampling rate.
Constructor & Destructor Documentation
SPUC::sigma_delta::sigma_delta |
( |
char |
nin = 8 , |
|
|
char |
nout = 1 |
|
) |
|
|
Member Function Documentation
signed char SPUC::sigma_delta::single |
( |
signed long |
in |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Fri Sep 16 11:09:08 2005 for spuc by
1.4.4