ad5754r

Supported Drivers

The class adi.ad5754r supports the following IIO drivers:

ad5754r.compatible_parts = ['ad5754r']

Class API

class adi.ad5754r(uri='', device_name='', device_index=0)

Bases: tx_chan_comp_no_buff

AD5754R DAC

property all_chns_clear

Get current all_chns_clear setting

property all_chns_clear_available

Get list of all all_chns_clear settings

channel = []
property clamp_enable

Get clamp_en setting

property clamp_enable_available

Get list of all clamp_en settings

property clear_setting

Get clear code setting

property clear_setting_available

Get list of all clear code settings

property hw_ldac_trigger

Get hw_ldac_trigger setting

property hw_ldac_trigger_available

Get list of all hw_ldac_trigger settings

property int_ref_powerup

Get internal reference powerup

property int_ref_powerup_available

Get list of all internal reference powerup settings

property oc_tsd

Get oc_tsd status

property oc_tsd_available

Get list of all possible oc_tsd status

property sampling_frequency

Get sampling frequency

property sdo_disable

Get sdo disable

property sdo_disable_available

Get list of all sdo enable/disable settings

property sw_ldac_trigger

Get sw_ldac_trigger setting

property sw_ldac_trigger_available

Get list of all sw_ldac_trigger settings

property tsd_enable

Get tsd_en setting

property tsd_enable_available

Get list of all tsd_en settings

Dynamic Attributes

The ad5754r class supports a variable number of channels depending on the hardware configuration. Therefore, the channel property interfaces are dynamically generated. They are available on an initiated object as attributes with names voltage0, voltage1, voltage2, voltage3. They will be instances of the ad5754r_channel class.

class adi.ad5754r.ad5754r_channel(ctrl, channel_name)

Bases: attribute

AD5754R channel

property dac_register

Get dac_register value

property offset

Get channel offset

property powerup

Get DAC chn powerup

property powerup_available

Get list of DAC chn powerup settings

property range

Get output range

property range_available

Get list of all output ranges

property raw

Get channel raw value DAC code in the range 0-65535

property scale

Get channel scale