one_bit_adc_dac — Analog Devices Hardware Python Interfaces 0.0.8 documentation

# one_bit_adc_dac

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

  Bases: `adi.attribute.attribute`, `adi.context_manager.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.