Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SPUC::sigma_delta Class Reference
[Miscellaneous functions]

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)
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  ) 

Output <= 8 bits.

Member Data Documentation

signed long SPUC::sigma_delta::acc [protected]

signed long SPUC::sigma_delta::in [protected]

unsigned long SPUC::sigma_delta::mask [protected]

unsigned char SPUC::sigma_delta::nbit_in

unsigned char SPUC::sigma_delta::nbit_out

The documentation for this class was generated from the following files:
Generated on Fri Sep 16 11:09:08 2005 for spuc by  doxygen 1.4.4