summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_gpio.h
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-28 13:35:52 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-08-28 13:55:17 -0400
commit3e45de7deade177b5caa921ee72a0e36300474c7 (patch)
treea93006c058d0efeb50353227a06eedb240005060 /watch-library/watch/watch_gpio.h
parent39a5c822a2a2e798e2e39ff8a98b7af84253026c (diff)
downloadSensor-Watch-3e45de7deade177b5caa921ee72a0e36300474c7.tar.gz
Sensor-Watch-3e45de7deade177b5caa921ee72a0e36300474c7.tar.bz2
Sensor-Watch-3e45de7deade177b5caa921ee72a0e36300474c7.zip
implement USB console
Diffstat (limited to 'watch-library/watch/watch_gpio.h')
-rw-r--r--watch-library/watch/watch_gpio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/watch-library/watch/watch_gpio.h b/watch-library/watch/watch_gpio.h
index f7678f6f..640686e0 100644
--- a/watch-library/watch/watch_gpio.h
+++ b/watch-library/watch/watch_gpio.h
@@ -32,6 +32,11 @@
*/
void watch_enable_digital_input(const uint8_t pin);
+/** @brief Disables any digital input, along with any pull-up or pull-down configuration.
+ * @param pin The pin that you wish to disable.
+ */
+void watch_disable_digital_input(const uint8_t pin);
+
/** @brief Enables a pull-up resistor on the selected pin.
* @param pin The pin that you wish to configure.
*/