Click or drag to resize

Designator Structure

Linux kernel I/O device designator.
Inheritance Hierarchy
SystemObject
  SystemValueType
    IO.Objects.SimpleIO.DeviceDesignator

Namespace: IO.Objects.SimpleIO.Device
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public struct Designator

The Designator type exposes the following members.

Constructors
 NameDescription
Public methodDesignator(String, UInt32) Linux kernel I/O device designator constructor. The chip and channel numbers shall be obtained from the operator via System.Console.ReadLine
Public methodDesignator(UInt32, UInt32) Linux kernel I/O device designator constructor.
Top
Properties
 NameDescription
Public propertyavailable Returns true if this device designator is not equal to Unavailable.
Top
Fields
 NameDescription
Public fieldchan Linux kernel I/O device channel number.
Public fieldchip Linux kernel I/O device chip number.
Public fieldStatic memberUnavailable Linux kernel I/O device designator for an unavailable device.
Top
Remarks
Many Linux kernel I/O devices, including ADC inputs, DAC outputs, GPIO pins, I2C buses, PWM outputs, and SPI devices, are selected by a tuple of integers: chip and channel.
See Also