Class used to provide interfacing to a BurrBrown DAC7616 Quad digital to analog converter circuit. More...
#include <core/DspDac7616.h>
Public Member Functions | |
tcDspDac7616 (tcDspMcbsp *apMcBsp, tcDspOutputLatch *apLatch, int anCSID, int anLDAP) | |
This routine is used to initialize a DAC7616 Digital To Analog converter over a specified McBSP interface. | |
~tcDspDac7616 () | |
Default destructor. | |
void | update (int anChannel, unsigned short anData) |
This routine receives new data for a specified channel and writes the 16-bit data to the ADC. | |
Static Public Attributes | |
static const int | gnNumDacChannels = 4 |
Class used to provide interfacing to a BurrBrown DAC7616 Quad digital to analog converter circuit.
tcDspDac7616::tcDspDac7616 | ( | tcDspMcbsp * | apMcbsp, | |
tcDspOutputLatch * | apLatch, | |||
int | anCS, | |||
int | anLDAC | |||
) |
This routine is used to initialize a DAC7616 Digital To Analog converter over a specified McBSP interface.
[in] | apMcbsp | Serial McBsp Object that the DAC is hooked to |
[in] | apLatch | Object defining a latch interface for the required chip select and LDAC strobes. |
[in] | anCS | ID of the DAC chip select line on the latch interface |
[in] | anLDAC | ID of the LDAC control line on the latch interface |
tcDspDac7616::~tcDspDac7616 | ( | ) |
Default destructor.
void tcDspDac7616::update | ( | int | anChannel, | |
unsigned short | anData | |||
) | [virtual] |
This routine receives new data for a specified channel and writes the 16-bit data to the ADC.
[in] | anChannel | DAC channel to write. |
[in] | anData | The value to set the DAC channel to. |
Implements MityDSP::tcDspDacBaseMcBsp.
const int MityDSP::tcDspDac7616::gnNumDacChannels = 4 [static] |