ad4130

Supported Drivers

The class adi.ad4130 supports the following IIO drivers:

ad4130.compatible_parts = ['ad4130-8']

Class API

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

Bases: rx_chan_comp

AD4130 ADC

channel = []
to_volts(index, val)

Converts raw value to SI.

Dynamic Attributes

The ad4130 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 ad4130_channel class.

class adi.ad4130.ad4130_channel(ctrl, channel_name)

Bases: attribute

AD4130 channel

property offset

AD4130 channel offset.

property raw

AD4130 channel raw value.

property scale

AD4130 channel scale.