Skip to content

Commit d191d25

Browse files
committed
Add new registers for TimestampOffset, UID, Tag, Heartbeat, and Version with detailed payload specifications
1 parent 8df5bb6 commit d191d25

File tree

1 file changed

+72
-1
lines changed

1 file changed

+72
-1
lines changed

schema/core.yml

Lines changed: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,72 @@ registers:
114114
access: Write
115115
maskType: ClockConfigurationFlags
116116
description: Specifies the configuration for the device synchronization clock.
117+
TimestampOffset:
118+
address: 15
119+
type: U8
120+
access: Write
121+
description: Offsets the device timestamp.
122+
deprecated: true
123+
UID:
124+
address: 16
125+
type: U8
126+
access: Read
127+
length: 16
128+
description: Specifies the unique identifier of the device.
129+
Tag:
130+
address: 17
131+
type: U8
132+
access: Write
133+
length: 8
134+
description: Stores a user-defined tag for the device.
135+
Heartbeat:
136+
address: 18
137+
type: U16
138+
access: Event
139+
maskType: HeartbeatFlags
140+
description: Stores the number of seconds since the device was last reset.
141+
Version:
142+
address: 19
143+
type: U8
144+
access: Read
145+
length: 32
146+
description: Specifies the semantic version of the different device components.
147+
payloadSpec:
148+
ProtocolMajor:
149+
offset: 0
150+
description: Specifies the major version of the Harp protocol implementation.
151+
ProtocolMinor:
152+
offset: 1
153+
description: Specifies the minor version of the Harp protocol implementation.
154+
ProtocolPatch:
155+
offset: 2
156+
description: Specifies the patch version of the Harp protocol implementation.
157+
FirmwareMajor:
158+
offset: 3
159+
description: Specifies the major version of the firmware.
160+
FirmwareMinor:
161+
offset: 4
162+
description: Specifies the minor version of the firmware.
163+
FirmwarePatch:
164+
offset: 5
165+
description: Specifies the patch version of the firmware.
166+
HardwareMajor:
167+
offset: 6
168+
description: Specifies the major version of the hardware.
169+
HardwareMinor:
170+
offset: 7
171+
description: Specifies the minor version of the hardware.
172+
HardwarePatch:
173+
offset: 8
174+
description: Specifies the patch version of the hardware.
175+
SdkId:
176+
offset: 9
177+
description: Specifies the microcontroller SDK used to implement the device.
178+
mask: 0xFFFFFF
179+
InterfaceHash:
180+
offset: 12
181+
description: Specifies the SHA-1 hash value of the device interface contract.
182+
mask: 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
117183
groupMasks:
118184
OperationMode:
119185
description: Specifies the operation mode of the device.
@@ -151,4 +217,9 @@ bitMasks:
151217
RepeaterCapability: {value: 0x8, description: Specifies the device has the capability to repeat the clock synchronization signal to the clock output connector.}
152218
GeneratorCapability: {value: 0x10, description: Specifies the device has the capability to generate the clock synchronization signal to the clock output connector.}
153219
ClockUnlock: {value: 0x40, description: The device will unlock the timestamp register counter and will accept commands to set new timestamp values.}
154-
ClockLock: {value: 0x80, description: The device will lock the timestamp register counter and will not accept commands to set new timestamp values.}
220+
ClockLock: {value: 0x80, description: The device will lock the timestamp register counter and will not accept commands to set new timestamp values.}
221+
HeartbeatFlags:
222+
description: Specifies configuration flags for the device heartbeat event.
223+
bits:
224+
IsActive: {value: 0x1, description: "The device is in Active mode."}
225+
IsSynchronized: {value: 0x2, description: "The device is synchronized to an external Harp clock generator. The value is 1 if the device is itself a clock generator."}

0 commit comments

Comments
 (0)