From 1f5848fc1a388b764fc507ccc3d56538605d5500 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 9 Sep 2020 21:32:03 -0400 Subject: adc_scaled: Add support for Duet2 Maestro "vref monitoring" Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'config/example-extras.cfg') diff --git a/config/example-extras.cfg b/config/example-extras.cfg index ce981c7e..8ea8413b 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -2222,6 +2222,23 @@ # communication. The pin must have a valid pinmux configuration # for the given SERCOM peripheral. This parameter must be provided. +# Duet2 Maestro analog scaling by vref and vssa readings. Defining an +# adc_scaled section enables virtual adc pins (such as "my_name:PB0") +# that are automatically adjusted by the board's vref and vssa +# monitoring pins. Be sure to define this config section above any +# config sections that use one these virtual pins. +#[adc_scaled my_name] +#vref_pin: +# The ADC pin to use for VREF monitoring. This parameter must be +# provided. +#vssa_pin: +# The ADC pin to use for VSSA monitoring. This parameter must be +# provided. +#smooth_time: 2.0 +# A time value (in seconds) over which the vref and vssa +# measurements will be smoothed to reduce the impact of measurement +# noise. The default is 2 seconds. + # Replicape support - see the generic-replicape.cfg file for further # details. #[replicape] -- cgit v1.2.3-70-g09d2