ad4020
Each device class in this module supports multiple parts, as follows:
ad4020: ad4020, ad4021, ad4022
ad4000: ad4000, ad4004, ad4008
ad4001: ad4001, ad4005
ad4002: ad4002, ad4006, ad4010
ad4003: ad4003, ad4007, ad4011
By default, the device_name parameter in the class constructor is the same as the class name (e.g. “ad4001” for the ad4001). To use the class with another supported model, the name must be given when instantiating the object. For example, if working with an ad4007 with a URI of “10.2.5.222”, use the ad4003 class, but specify the device_name parameter explicitly:
import adi
adc = adi.ad4003(uri="ip:10.2.5.222", device_name="ad4007")
...
Supported Drivers
The class adi.ad4020 supports the following IIO drivers:
Class API
- class adi.ad4020.ad4000(uri='', device_name='ad4000')
Bases:
ad4020AD4000 device
- class adi.ad4020.ad4000_channel(ctrl, channel_name)
Bases:
ad4020_channelAD4000 channel
- class adi.ad4020.ad4001(uri='', device_name='ad4001')
Bases:
ad4020,__ad40xx_srAD4001 device
- class adi.ad4020.ad4002(uri='', device_name='ad4002')
Bases:
ad4020AD4002 device
- class adi.ad4020.ad4003(uri='', device_name='ad4003')
Bases:
ad4020,__ad40xx_srAD4003 device