Class used to provide interfacing to a TI TLV5610 8-channel digital- to-analog converter via the MityDSP McBSP.
More...
#include <core/DspDacTlv5610.h>
List of all members.
Detailed Description
Class used to provide interfacing to a TI TLV5610 8-channel digital- to-analog converter via the MityDSP McBSP.
- See also:
- tcDspDacTlv5610 Page
Constructor & Destructor Documentation
This routine is used to initialize a TLV5610 Digital To Analog converter over a specified McBSP interface.
- Parameters:
-
[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 |
- Returns:
- None.
- See also:
- DspDacTlv5610.h
tcDspDacTlv5610::~tcDspDacTlv5610 |
( |
| ) |
|
Member Function Documentation
void tcDspDacTlv5610::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.
- Parameters:
-
[in] | anChannel | DAC channel to write. |
[in] | anData | The value to set the DAC channel to. |
- Returns:
- None.
- See also:
- DspDacTlv5610.h
Implements MityDSP::tcDspDacBaseMcBsp.
Member Data Documentation
const int MityDSP::tcDspDacTlv5610::gnNumDacChannels = 8 |
|
static |