MityDSP Documentation Index

MityDSP::tcDspAdc776X Class Reference

Instances of this class create an interface to an ADC776X 24-bit sigma delta analog to digital converter. More...

#include <core/DspAdc776X.h>

Inheritance diagram for MityDSP::tcDspAdc776X:
MityDSP::tcDspAdc776XBase MityDSP::tcDspAdcBase

List of all members.

Classes

union  tuFifoData

Public Member Functions

 tcDspAdc776X (void *apAddress, tcDspAdc776XBaseConfig *apConfig=NULL, int anLevel=gnAutoLevel)
 This constructor is used to open a tcDspAdc776X interface with the the specified settings (optional).
 ~tcDspAdc776X ()
 Default destructor.
bool CheckOverRange (unsigned int anLword)
 Given an unpacked data word from the ADC776X FIFO, this routine will indicate whether or not an overflow condition exists.
unsigned int GetUserData (unsigned int anLword)

Detailed Description

Instances of this class create an interface to an ADC776X 24-bit sigma delta analog to digital converter.

See also:
tcDspAdc776X Page

Constructor & Destructor Documentation

tcDspAdc776X::tcDspAdc776X ( void *  apAddress,
tcDspAdc776XBaseConfig apConfig = NULL,
int  anLevel = gnAutoLevel 
)

This constructor is used to open a tcDspAdc776X interface with the the specified settings (optional).

The interface is not yet enabled for capture following construction.

This constructor registers the capabilities of this particular ADC with the base class.

Parameters:
[in] apAddress - Base Address of the ADC core
[in] apConfig - Optional Configuration Structure
[in] anLevel - The interrupt vector used by the core (default: gnAutoLevel).
Returns:
None.
See also:
DspAdc776X.h
DspAdcBase.h
DspIntDispatch.h
tcDspAdc776X::~tcDspAdc776X (  ) 

Default destructor.

Returns:
None.

Member Function Documentation

bool tcDspAdc776X::CheckOverRange ( unsigned int  anLword  ) 

Given an unpacked data word from the ADC776X FIFO, this routine will indicate whether or not an overflow condition exists.

Parameters:
[in] anLword Data word from FIFO.
Returns:
Boolean indicating if overflow occurred.
See also:
DspAdc776X.h
unsigned int MityDSP::tcDspAdc776X::GetUserData ( unsigned int  anLword  ) 

  
Generated on Fri Sep 23 16:33:46 2011 for MityDSP Core by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.