Introduction
The tcDspDac7616 class is used to set up and send data to a BurrBrown DAC7616 Quad D-to-A converter. The converter is accessed via a McBSP interface.
- See also:
- MityDSP::tcDspDac7616 Class Reference
-
MityDSP::tcDspDacBaseMcBsp McBSP DAC Base Class Reference
Example
This is a simple example of tcDspDac7616 creation and usage:
{
class tcFPGA : public tcDspOutputLatch
{
...
public:
typedef enum
{
...
eeDAC_CS,
eeDAC_LDAC,
...
} teOutputs;
int SetOuput(unsigned int ID, unsigned int Value);
...
}
int main (int argc, char *argv[])
{
tcFPGA FPGA;
tcDspMcbsp MCBSP(0x018C0000,
tcDspDac7616 DAC(&MCBSP,&FPGA,tcFPGA::eeDAC_CS,tcFPGA::eeDAC_LDAC);
...
}
}