Class Device
- Namespace
- Harp.Synchronizer
- Assembly
- Harp.Synchronizer.dll
Represents an observable source of messages from the Harp device connected at the specified serial port.
Synchronizer | |
---|---|
whoAmI | 1104 |
firmwareVersion | 1.7 |
hardwareTargets | 1.0 |
Registers
name | address | type | length | access | description | range | interfaceType |
---|---|---|---|---|---|---|---|
DigitalInputState | 32 | U16 | Event | State of the digital input pins. An event will be emitted when the value of any digital input pin changes. | DigitalInputs | ||
DigitalOutputState | 33 | U8 | Write | Status of the digital output pin 0. | DigitalOutputs | ||
DigitalInputsSamplingMode | 34 | U8 | Write | Sets the sampling mode for digital input pins. | DigitalInputsSamplingConfig | ||
DO0Config | 35 | U8 | Write | Configures how the DO0 pin behaves. | DO0ConfigMode | ||
EnableEvents | 40 | U8 | Write | Specifies all the active events in the device. | SynchronizerEvents |
[Combinator(MethodName = "Generate")]
[WorkflowElementCategory(ElementCategory.Source)]
public class Device : Device, INamedElement
- Inheritance
-
Device
- Implements
- Inherited Members
Constructors
Fields
- WhoAmI
Represents the unique identity class of the Harp.Synchronizer device. This field is constant.
Properties
- RegisterMap
Gets a read-only mapping from address to register type.
Methods
- CreateAsync(string)
Initializes a new instance of the asynchronous API to configure and interface with Synchronizer devices on the specified serial port.