MityDSP Documentation Index

MityDSP::tcDspDacTlv5610 Class Reference

Class used to provide interfacing to a TI TLV5610 8-channel digital- to-analog converter via the MityDSP McBSP. More...

#include <core/DspDacTlv5610.h>

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

List of all members.

Public Member Functions

 tcDspDacTlv5610 (tcDspMcbsp *apMcBsp, tcDspOutputLatch *apLatch=NULL, int anCSID=0)
 This routine is used to initialize a TLV5610 Digital To Analog converter over a specified McBSP interface.
 ~tcDspDacTlv5610 ()
 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 = 8

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

tcDspDacTlv5610::tcDspDacTlv5610 ( tcDspMcbsp apMcbsp,
tcDspOutputLatch apLatch = NULL,
int  anCS = 0 
)

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 (  ) 

Default destructor.


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


  
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.