MityDSP Documentation Index

MityDSP::tcDspDacBaseMcBsp Class Reference

Base class for digital-to-analog converter devices using the MityDSP McBSP interface. More...

#include <core/DspDacBaseMcBsp.h>

Inheritance diagram for MityDSP::tcDspDacBaseMcBsp:
MityDSP::tcDspDac7616 MityDSP::tcDspDacTlv5610

List of all members.

Public Types

enum  teDacChannels {
  eeDAC_A = 0, eeDAC_B = 1, eeDAC_C = 2, eeDAC_D = 3,
  eeDAC_E = 4, eeDAC_F = 5, eeDAC_G = 6, eeDAC_H = 7
}
 

< DAC channel constant definitions

More...

Public Member Functions

 tcDspDacBaseMcBsp (tcDspMcbsp *apMcBsp, tcDspOutputLatch *apLatch, int anCSID, int anNumChannels)
 This constructor is used to create an instance of the DAC base class for use with the MityDSP McBSP interface.
virtual ~tcDspDacBaseMcBsp ()
 Destructor for tcDspDacBaseMcBsp class.
virtual void update (int anChannel, unsigned short anData)=0

Protected Attributes

tcDspMcbspmpMcBsp
 the serial interface mcbsp
tcDspOutputLatchmpOutputLatch
 accessor to chip selects
int mnCS
 ID of chip select on latch.
int mnNumChannels
 number of DAC channels available
unsigned short * mnCurrentVals
 current DAC values

Detailed Description

Base class for digital-to-analog converter devices using the MityDSP McBSP interface.

See also:
tcDspDacBaseMcBsp Page

Member Enumeration Documentation

< DAC channel constant definitions

Enumerator:
eeDAC_A 
eeDAC_B 
eeDAC_C 
eeDAC_D 
eeDAC_E 
eeDAC_F 
eeDAC_G 
eeDAC_H 

Constructor & Destructor Documentation

tcDspDacBaseMcBsp::tcDspDacBaseMcBsp ( tcDspMcbsp apMcBsp,
tcDspOutputLatch apLatch,
int  anCSID,
int  anNumChannels 
)

This constructor is used to create an instance of the DAC base class for use with the MityDSP McBSP interface.

Parameters:
[in] apMcBsp Serial McBSP object that the DAC is hooked to
[in] apLatch Object defining a latch interface for the chip select
[in] anCSID ID of the DAC chip select line on the latch interface
[in] anNumChannels Number of channels supported by the derived DAC
Returns:
None
See also:
DspDacBaseMcBsp.h
tcDspDacBaseMcBsp::~tcDspDacBaseMcBsp (  )  [virtual]

Destructor for tcDspDacBaseMcBsp class.

Returns:
None
See also:
DspDacBaseMcBsp.h

Member Function Documentation

virtual void MityDSP::tcDspDacBaseMcBsp::update ( int  anChannel,
unsigned short  anData 
) [pure virtual]

Member Data Documentation

the serial interface mcbsp

accessor to chip selects

ID of chip select on latch.

number of DAC channels available

unsigned short* MityDSP::tcDspDacBaseMcBsp::mnCurrentVals [protected]

current DAC values


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