Introduction
The tcDspAdc56x5 class may be used to provide access to the MityDSP AD56x5 interface core. The AD56x5 interface core marries the MityDSP to an Analog Devices 56x5 series high speed 12 bit digital to analog converter.
- See also:
- MityDSP::tcDspAdc56x5 Class Reference
Example
This is a simple example of tcDspAd56x5 creation and usage:
{
tcDspAd56x5* mpDAC;
tcDspI2c <em>mp56x5I2c = new tcDspI2c((void</em>)I2C_BASE);
mpDAC = new tcDspAd56x5(mp56x5I2c, 0x13);
mpDAC->set_vref_internal(true);
mpDAC->update(0, 0xFFF, tcDspAd56x5::eeLoadSingle);
...
}