aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/pal.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/io/pal.h')
-rw-r--r--os/io/pal.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/os/io/pal.h b/os/io/pal.h
index 2a1cbaf63..67bc424b1 100644
--- a/os/io/pal.h
+++ b/os/io/pal.h
@@ -67,14 +67,19 @@
#define PAL_MODE_INPUT_PULLDOWN 4
/**
+ * @brief Analog input mode.
+ */
+#define PAL_MODE_INPUT_ANALOG 5
+
+/**
* @brief Push-pull output pad.
*/
-#define PAL_MODE_OUTPUT_PUSHPULL 5
+#define PAL_MODE_OUTPUT_PUSHPULL 6
/**
* @brief Open-drain output pad.
*/
-#define PAL_MODE_OUTPUT_OPENDRAIN 6
+#define PAL_MODE_OUTPUT_OPENDRAIN 7
#ifndef _PAL_LLD_H_
#include "pal_lld.h"