You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: device.yml
+19-24Lines changed: 19 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,19 @@ registers:
35
35
offset: 6
36
36
Channel7:
37
37
offset: 7
38
-
DI0:
38
+
DI0State:
39
39
address: 34
40
40
access: Event
41
41
type: U8
42
42
maskType: DigitalState
43
-
description: Status of the digital input pin 0. An event will be emitted when DI0Mode == Input.
44
-
DO0:
43
+
description: Status of the digital input pin 0. An event will be emitted when DI0Trigger == Input.
44
+
DO0State:
45
45
address: 35
46
46
access: Event
47
47
type: U8
48
48
maskType: DigitalState
49
-
description: Status of the digital output pin 0. An periodic event will be emitted when DigitalOutput0Mode == ToggleEachSecond.
50
-
BufferThresholds:
49
+
description: Status of the digital output pin 0. An periodic event will be emitted when DO0Sync == ToggleEachSecond.
50
+
BufferThresholdsState:
51
51
address: 36
52
52
access: Read
53
53
visibility: private
@@ -62,44 +62,44 @@ registers:
62
62
Reserved1:
63
63
<<: *ReservedReg
64
64
address: 38
65
-
DI0Mode:
65
+
DI0Trigger:
66
66
address: 39
67
67
access: Write
68
68
type: U8
69
-
maskType: DI0ModeConfig
69
+
maskType: DI0TriggerConfig
70
70
description: Configuration of the digital input pin 0.
71
-
DO0Mode:
71
+
DO0Sync:
72
72
address: 40
73
73
access: Write
74
74
type: U8
75
-
maskType: DO0ModeConfig
75
+
maskType: DO0SyncConfig
76
76
description: Configuration of the digital output pin 0.
77
77
DO0PulseWidth:
78
78
address: 41
79
79
access: Write
80
80
type: U8
81
81
minValue: 1
82
82
maxValue: 255
83
-
description: Pulse duration (ms) for the digital output pin 0. The pulse will only be emitted when DO0Mode == Pulse.
84
-
DOSet: &output
83
+
description: Pulse duration (ms) for the digital output pin 0. The pulse will only be emitted when DO0Sync == Pulse.
84
+
DigitalOutputSet: &output
85
85
address: 42
86
86
type: U16
87
87
access: Write
88
88
maskType: DigitalOutputs
89
89
description: Set the specified digital output lines.
90
-
DOClear:
90
+
DigitalOutputClear:
91
91
<<: *output
92
92
address: 43
93
93
description: Clear the specified digital output lines.
94
-
DOToggle:
94
+
DigitalOutputToggle:
95
95
<<: *output
96
96
address: 44
97
97
description: Toggle the specified digital output lines
98
-
DOState:
98
+
DigitalOutputState:
99
99
<<: *output
100
100
address: 45
101
101
access: [Write, Event]
102
-
description: Write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold crossing event.
102
+
description: Write the state of all digital output lines. An event will be emitted when the value of any pin was changed by a threshold event.
103
103
Reserved2:
104
104
<<: *ReservedReg
105
105
address: 46
@@ -307,24 +307,19 @@ bitMasks:
307
307
DigitalOutput0: 0x4
308
308
Thresholds: 0x8
309
309
groupMasks:
310
-
EnableFlag:
311
-
description: The state of an abstract functionality.
312
-
values:
313
-
Disabled: 0
314
-
Enabled: 1
315
310
DigitalState:
316
311
description: The state of a digital pin.
317
312
values:
318
313
Low: 0
319
314
High: 1
320
-
DI0ModeConfig:
321
-
description: Available configurations for DI0 pin.
315
+
DI0TriggerConfig:
316
+
description: Available configurations for when using DI0 as an acquisition trigger.
322
317
values:
323
318
Input: 0
324
319
StartOnRisingEdge: 1
325
320
StartOnFallingEdge: 2
326
-
DO0ModeConfig:
327
-
description: Available configurations for DO0 pin.
321
+
DO0SyncConfig:
322
+
description: Available configurations when using DO0 pin to report firmware events.
0 commit comments