Skip to content

Commit 9cbda62

Browse files
authored
Replace all uses of LedState with EnableFlag (#191)
This allows for a more uniform interface, and avoids using YAML 1.1 reserved keywords.
1 parent e258b7f commit 9cbda62

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

schema/core.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ registers:
8080
mask: 0x10
8181
VisualIndicators:
8282
description: Specifies the state of all visual indicators on the device.
83-
maskType: LedState
83+
maskType: EnableFlag
8484
mask: 0x20
8585
OperationLed:
8686
description: Specifies whether the device state LED should report the operation mode of the device.
87-
maskType: LedState
87+
maskType: EnableFlag
8888
mask: 0x40
8989
Heartbeat:
9090
description: Specifies whether the device should report the content of the seconds register each second.
@@ -126,11 +126,6 @@ groupMasks:
126126
values:
127127
Disabled: {value: 0, description: Specifies that the flag is disabled.}
128128
Enabled: {value: 1, description: Specifies that the flag is enabled.}
129-
LedState:
130-
description: Specifies the state of an LED on the device.
131-
values:
132-
Off: {value: 0, description: Specifies that the LED is off.}
133-
On: {value: 1, description: Specifies that the LED is on.}
134129
bitMasks:
135130
ResetFlags:
136131
description: Specifies the behavior of the non-volatile registers when resetting the device.

0 commit comments

Comments
 (0)