one_bit_adc_dac

class adi.one_bit_adc_dac.one_bit_adc_dac(uri='', name='one-bit-adc-dac')

Bases: attribute, context_manager

One bit ADC/DAC (GPIO). This driver will create a handle for the

GPIO device as well as properties for each GPIO pin it accesses. Each GPIO pin name will be lowercase and of the format: “gpio_{pin name}”

parameters:
uri: type=string

URI of IIO context with GPIO pins

name: type=string

String identifying the device by name from the device tree. Dynamic class properties will be created for each channel.