Base class for digital-to-analog converter devices using the MityDSP McBSP interface.
More...
#include <core/DspDacBaseMcBsp.h>
List of all members.
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
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 |
Member Function Documentation
virtual void MityDSP::tcDspDacBaseMcBsp::update |
( |
int |
anChannel, |
|
|
unsigned short |
anData |
|
) |
| |
|
pure virtual |
Member Data Documentation
the serial interface mcbsp
int MityDSP::tcDspDacBaseMcBsp::mnCS |
|
protected |
ID of chip select on latch.
int MityDSP::tcDspDacBaseMcBsp::mnNumChannels |
|
protected |
number of DAC channels available
unsigned short* MityDSP::tcDspDacBaseMcBsp::mnCurrentVals |
|
protected |