Skip to content

Commit 2cb8f8f

Browse files
Use double quotes consistently in hostmot2(9)
Use double quotes consistently instead of a mix of single and double quotes. Picked double over single quotes as it had most existing use.
1 parent 973ecc3 commit 2cb8f8f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/man/man9/hostmot2.9

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ board. These are arranged in 1-4 ports of 1 to 8 channels.
217217
for example all inputs, or all outputs, or offering additional analogue input on
218218
some digital pins.
219219
To set the modes for port 0 use, for example \fBsserial_port_0=0120xxxx\fR
220-
A '0'in the string sets the corresponding port to mode 0, 1 to mode 1, and so
220+
A "0" in the string sets the corresponding port to mode 0, 1 to mode 1, and so
221221
on up to mode 9. An "x" in any position disables that channel and makes the
222222
corresponding FPGA pins available as GPIO.
223223
The string can be up to 8 characters long, and if it defines more
@@ -433,7 +433,7 @@ Parameters:
433433

434434
.TP
435435
(float r/w) scale
436-
Converts from 'count' units to 'position' units.
436+
Converts from "count" units to "position" units.
437437

438438
.TP
439439
(bit r/w) index\-invert
@@ -718,7 +718,7 @@ counts per rev (16777216 counts).
718718
.TP
719719
(s32, out) rawcounts
720720
This is identical to the counts pin, except it is not
721-
reset by the 'index' or 'reset' pins. This is the pin which would be linked to
721+
reset by the "index" or "reset" pins. This is the pin which would be linked to
722722
the bldc HAL component if the resolver was being used to commutate a motor.
723723

724724
.TP
@@ -798,7 +798,7 @@ In conjunction with \fBjoint-pos-fb\fR (qv) emulate absolute encoders.
798798
pwmgens have names like
799799
"hm2_\fI<BoardType>\fR.\fI<BoardNum>\fR.pwmgen.\fI<Instance>\fR".
800800
"Instance" is a two-digit number that corresponds to the HostMot2 pwmgen
801-
instance number. There are 'num_pwmgens' instances, starting with 00.
801+
instance number. There are "num_pwmgens" instances, starting with 00.
802802

803803
So, for example, the HAL pin that enables output from the fourth pwmgen
804804
of the first 7i43 board is: hm2_7i43.0.pwmgen.03.enable (this assumes
@@ -819,7 +819,7 @@ Pins:
819819
.TP
820820
(bit input) enable
821821
If True, the pwmgen will set its Not\-Enable pin
822-
False and output its pulses. If 'enable' is False, pwmgen will set its
822+
False and output its pulses. If "enable" is False, pwmgen will set its
823823
Not\-Enable pin True and not output any signals.
824824

825825
.TP
@@ -830,7 +830,7 @@ Parameters:
830830

831831
.TP
832832
(float rw) scale
833-
Scaling factor to convert 'value' from arbitrary units
833+
Scaling factor to convert "value" from arbitrary units
834834
to duty cycle: dc = value / scale. Duty cycle has an effective range
835835
of \-1.0 to +1.0 inclusive, anything outside that range gets clipped.
836836
The default scale is 1.0.
@@ -1004,7 +1004,7 @@ scale in degrees for 1-2 mS servos with a full motion range of 90 degrees
10041004
stepgens have names like
10051005
"hm2_\fI<BoardType>\fR.\fI<BoardNum>\fR.stepgen.\fI<Instance>\fR".
10061006
"Instance" is a two-digit number that corresponds to the HostMot2 stepgen
1007-
instance number. There are 'num_stepgens' instances, starting with 00.
1007+
instance number. There are "num_stepgens" instances, starting with 00.
10081008

10091009
So, for example, the HAL pin that has the current position
10101010
feedback from the first stepgen of the second 5i22 board is:
@@ -1338,7 +1338,7 @@ inms have names like
13381338
"hm2_\fI<BoardType>\fR.\fI<BoardNum>\fR.inm.\fI<Instance>\fR".
13391339
inmuxes have names like "hm2_\fI<BoardType>\fR.\fI<BoardNum>\fR.inmux.\fI<Instance>\fR".
13401340
"Instance" is a two-digit number that corresponds to the HostMot2 inm or inmux
1341-
instance number. There are 'num_inms' or numx_inmuxs" instances, starting
1341+
instance number. There are "num_inms" or numx_inmuxs" instances, starting
13421342
with 00.
13431343

13441344
Each instance reads between 8 and 32 input pins. inm and inmux are identical except
@@ -1416,7 +1416,7 @@ the LED.
14161416
SSRs have names like
14171417
"hm2_\fI<BoardType>\fR.\fI<BoardNum>\fR.ssr.\fI<Instance>\fR".
14181418
"Instance" is a two-digit number that corresponds to the HostMot2 SSR
1419-
instance number. There are 'num_ssrs' instances, starting
1419+
instance number. There are "num_ssrs" instances, starting
14201420
with 00.
14211421

14221422
Each instance has a rate control pin and between 1 and 32 output pins.
@@ -1448,7 +1448,7 @@ pin is 0 and open when the out-NN pin is 1
14481448
OutMs have names like
14491449
"hm2_\fI<BoardType>\fR.\fI<BoardNum>\fR.OutM.\fI<Instance>\fR".
14501450
"Instance" is a two-digit number that corresponds to the HostMot2 OutM
1451-
instance number. There are 'num_outms' instances, starting
1451+
instance number. There are "num_outms" instances, starting
14521452
with 00.
14531453

14541454
Each instance has between 1 and 32 output pins.

0 commit comments

Comments
 (0)