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: docs/src/hal/basic-hal.adoc
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ Flags may be one or more of the following:
113
113
114
114
-n:: name a component when it is a valid option for that component.
115
115
116
-
.loadusr Syntax and Examples
116
+
.`loadusr` Syntax and Examples
117
117
[source,{hal}]
118
118
----
119
119
loadusr <component> <options>
@@ -126,13 +126,13 @@ In English it means 'loadusr wait for name spindle component gs2_vfd name spindl
126
126
[[sub:hal-net]]
127
127
=== net(((HAL net,net)))
128
128
129
-
The command 'net' creates a 'connection' between a signal and one or more pins.
129
+
The command `net` creates a 'connection' between a signal and one or more pins.
130
130
If the signal does not exist net creates the new signal.
131
131
This replaces the need to use the command newsig.
132
-
The optional direction arrows '<=', '=>' and '<=>' make it easier to follow the logic when reading a 'net' command line and are not used by the net command.
132
+
The optional direction arrows `<=`, `=>` and `<=>` make it easier to follow the logic when reading a `net` command line and are not used by the net command.
133
133
The direction arrows must be separated by a space from the pin names.
134
134
135
-
.net Syntax and Example
135
+
.`net` Syntax and Example
136
136
[source,{hal}]
137
137
----
138
138
net signal-name pin-name <optional arrow> <optional second pin-name>
@@ -178,15 +178,15 @@ An I/O pin like encoder._N_.index-enable can be read or set as allowed by the co
178
178
[[sub:hal-setp]]
179
179
=== setp(((HAL setp,setp)))
180
180
181
-
The command 'setp' sets the value of a pin or parameter.
181
+
The command `setp` sets the value of a pin or parameter.
182
182
The valid values will depend on the type of the pin or parameter.
183
183
It is an error if the data types do not match.
184
184
185
185
Some components have parameters that need to be set before use.
186
186
Parameters can be set before use or while running as needed.
187
187
You cannot use setp on a pin that is connected to a signal.
0 commit comments