ad353xr

Supported Drivers

The class adi.ad353xr supports the following IIO drivers:

ad353xr.compatible_parts = ['ad3530r', 'ad3531r', 'ad3532r']

Class API

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

Bases: tx_chan_comp

AD353xr DAC

property all_ch_input_registers

AD353xr all input registers config

property all_ch_operating_mode

AD353xr all channels operating mode config

property all_ch_operating_mode_avail

AD353xr all channels operating mode available

property all_ch_raw

AD353xr all dac registers config

channel = []
property hw_ldac_trigger

AD353xr hardware ldac trigger config

property hw_ldac_trigger_avail

AD353xr hw_ldac_trigger available

property mux_out_select

AD353xr mux out select

property mux_out_select_avail

AD353xr mux_out_select available

property output_bits

AD353xr channel-wise number of output bits list

property range

AD353xr range config

property range_avail

AD353xr range available

property reference_select

AD353xr reference voltage config

property reference_select_available

AD353xr reference voltage available

property sampling_frequency

AD353xr sampling frequency config

property sw_ldac_trigger

AD353xr software ldac trigger config

property sw_ldac_trigger_avail

AD353xr sw_ldac_trigger available

Dynamic Attributes

The ad353xr 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, etc. They will be instances of the ad353xr_channel class.

class adi.ad353xr.ad353xr_channel(ctrl, channel_name)

Bases: attribute

AD353xr channel

property input_register

AD353xr channel input register value

property offset

AD353xr channel offset

property operating_mode

AD353xr channel operating mode

property operating_mode_avail

AD353xr channel operating mode settings

property raw

AD353xr channel raw value

property scale

AD353xr channel scale