Click or drag to resize

Device Class

Enscapsulates the AD5593R I2C Analog/Digital I/O device.
Inheritance Hierarchy
SystemObject
  IO.Devices.AD5593RDevice

Namespace: IO.Devices.AD5593R
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public class Device

The Device type exposes the following members.

Constructors
 NameDescription
Public methodDevice Constructor for a single AD5593R device.
Top
Properties
 NameDescription
Public propertyADC_Reference Write-only property for setting the AD5593R ADC reference mode.
Public propertyDAC_Reference Write-only property for setting the AD5593R DAC reference mode.
Public propertyGPIO_Inputs GPIO input register state. Any I/O pin that is not configured as a GPIO input will read as zero.
Public propertyGPIO_Outputs GPIO output register state. Any I/O pin that is not configured as a GPIO output will be written as zero.
Top
Methods
 NameDescription
Public methodADC_Create Create an AD5593R ADC input object.
Public methodConfigureChannel Configure a single ADC5593R I/O pin.
Public methodDAC_Create Create an AD5593R DAC output object.
Public methodGPIO_Create Create an AD5593R GPIO pin object.
Public methodRead_ADC Read from an ADC channel.
Public methodWrite_DAC Write to a DAC channel.
Top
Fields
 NameDescription
Public fieldStatic memberADC_Resolution ADC resolution in bits.
Public fieldStatic memberDAC_Resolution DAC resolution in bits.
Public fieldStatic memberMaxChannel Maximum I/O channel number.
Public fieldStatic memberMinChannel Minimum I/O channel number.
Top
See Also