aboutsummaryrefslogtreecommitdiffstats
path: root/config/example-extras.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-12-18 20:22:53 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-12-18 21:00:06 -0500
commit1b0750597312625c23e3389226e418dda1373df2 (patch)
treec34d97098ece7389000e0ad857f600a33943eccc /config/example-extras.cfg
parent3c5649219fb120c2ac1b98cf22adfefba5dd4c10 (diff)
downloadkutter-1b0750597312625c23e3389226e418dda1373df2.tar.gz
kutter-1b0750597312625c23e3389226e418dda1373df2.tar.xz
kutter-1b0750597312625c23e3389226e418dda1373df2.zip
chipmisc: Add multi_pin capability
Add the ability to alias multiple output pins from a single pin alias. This makes it possible to support some cases where a single logical output is driven by multiple output pins. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r--config/example-extras.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index 19405262..34a55d89 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -169,6 +169,19 @@
# See the 'pwm_output' section for details on these parameters.
+# Multiple pin outputs (one may define any number of sections with a
+# "multi_pin" prefix). A multi_pin output creates an internal pin
+# alias that can modify multiple output pins each time the alias pin
+# is set. For example, one could define a "[multi_pin my_fan]" object
+# containing two pins and then set "pin=multi_pin:my_fan" in the
+# "[fan]" section - on each fan change both output pins would be
+# updated. These aliases may not be used with stepper motor pins.
+#[multi_pin my_multi_pin]
+#pins:
+# A comma separated list of pins associated with this alias. This
+# parameter must be provided.
+
+
# Statically configured AD5206 digipots connected via SPI bus (one may
# define any number of sections with an "ad5206" prefix).
#[ad5206 my_digipot]