ad719x

Supported Drivers

The class adi.ad719x supports the following IIO drivers:

ad719x.compatible_parts = ['ad7190', 'ad7191', 'ad7192', 'ad7193', 'ad7194', 'ad7195']

Class API

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

Bases: rx_chan_comp

AD719x ADC

channel = []
to_volts(index, val)

Converts raw value to SI.

Dynamic Attributes

The ad719x 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 ad719x_channel class.

class adi.ad719x.ad719x_channel(ctrl, channel_name)

Bases: attribute

AD719x channel

property offset

AD719x channel offset.

property raw

AD719X channel raw value.

property scale

AD719X channel scale.