document the 'mode' of SMap
This commit is contained in:
parent
9913d3125f
commit
1f6aa8d18b
1 changed files with 8 additions and 0 deletions
|
@ -49,6 +49,14 @@ impl SMap {
|
||||||
"SMap clip\nThe 'clip' mode allows you to limit the output \
|
"SMap clip\nThe 'clip' mode allows you to limit the output \
|
||||||
exactly to the 'min'/'max' range. If this is off, the output \
|
exactly to the 'min'/'max' range. If this is off, the output \
|
||||||
may be outside the output signal range.";
|
may be outside the output signal range.";
|
||||||
|
pub const mode : &'static str =
|
||||||
|
"SMap mode\nThis mode defines what kind of input signal is expected \
|
||||||
|
and how it will be mapped to the output 'min'/'max' range.\n\
|
||||||
|
These modes are available:\
|
||||||
|
\n * Unipolar (0..1)\
|
||||||
|
\n * Bipolar (-1..1)\
|
||||||
|
\n * UniInv (1..0)\
|
||||||
|
\n * BiInv (1..-1)";
|
||||||
pub const sig : &'static str =
|
pub const sig : &'static str =
|
||||||
"SMap sig\nMapped signal output\nRange: (-1..1)\n";
|
"SMap sig\nMapped signal output\nRange: (-1..1)\n";
|
||||||
pub const DESC : &'static str =
|
pub const DESC : &'static str =
|
||||||
|
|
Loading…
Reference in a new issue