|
@@ -48,7 +48,9 @@
|
|
|
* argument is ignored.
|
|
|
* @PIN_CONFIG_DRIVE_STRENGTH: the pin will output the current passed as
|
|
|
* argument. The argument is in mA.
|
|
|
- * @PIN_CONFIG_INPUT_SCHMITT_DISABLE: disable schmitt-trigger mode on the pin.
|
|
|
+ * @PIN_CONFIG_INPUT_SCHMITT_ENABLE: control schmitt-trigger mode on the pin.
|
|
|
+ * If the argument != 0, schmitt-trigger mode is enabled. If it's 0,
|
|
|
+ * schmitt-trigger mode is disabled.
|
|
|
* @PIN_CONFIG_INPUT_SCHMITT: this will configure an input pin to run in
|
|
|
* schmitt-trigger mode. If the schmitt-trigger has adjustable hysteresis,
|
|
|
* the threshold value is given on a custom format as argument when
|
|
@@ -82,7 +84,7 @@ enum pin_config_param {
|
|
|
PIN_CONFIG_DRIVE_OPEN_DRAIN,
|
|
|
PIN_CONFIG_DRIVE_OPEN_SOURCE,
|
|
|
PIN_CONFIG_DRIVE_STRENGTH,
|
|
|
- PIN_CONFIG_INPUT_SCHMITT_DISABLE,
|
|
|
+ PIN_CONFIG_INPUT_SCHMITT_ENABLE,
|
|
|
PIN_CONFIG_INPUT_SCHMITT,
|
|
|
PIN_CONFIG_INPUT_DEBOUNCE,
|
|
|
PIN_CONFIG_POWER_SOURCE,
|