ad4110

Supported Drivers

The class adi.ad4110 supports the following IIO drivers:

ad4110.compatible_parts = ['ad4110']

Class API

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

Bases: rx_chan_comp

AD4110 ADC

channel = []
to_volts(index, val)

Converts raw value to SI.

Dynamic Attributes

The ad4110 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 ad4110_channel class.

class adi.ad4110.ad4110_channel(ctrl, channel_name)

Bases: attribute

AD4110 channel

property offset

AD4110 channel offset.

property raw

AD4110 channel raw value.

property scale

AD4110 channel scale.