diff options
-rw-r--r-- | os/io/platforms/AT91SAM7X/pal_lld.c | 1 | ||||
-rw-r--r-- | os/io/platforms/AT91SAM7X/platform.dox | 1 | ||||
-rw-r--r-- | os/io/platforms/LPC214x/platform.dox | 1 | ||||
-rw-r--r-- | os/io/platforms/MSP430/pal_lld.h | 1 | ||||
-rw-r--r-- | os/io/platforms/STM32/platform.dox | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/os/io/platforms/AT91SAM7X/pal_lld.c b/os/io/platforms/AT91SAM7X/pal_lld.c index b3baeb1fe..8fef0c5b5 100644 --- a/os/io/platforms/AT91SAM7X/pal_lld.c +++ b/os/io/platforms/AT91SAM7X/pal_lld.c @@ -95,6 +95,7 @@ void _pal_lld_setgroupmode(ioportid_t port, port->PIO_ODR = mask;
break;
case PAL_MODE_INPUT:
+ case PAL_MODE_INPUT_ANALOG:
port->PIO_PPUDR = mask;
port->PIO_ODR = mask;
break;
diff --git a/os/io/platforms/AT91SAM7X/platform.dox b/os/io/platforms/AT91SAM7X/platform.dox index 1e5b7f8c8..2a2aa4a47 100644 --- a/os/io/platforms/AT91SAM7X/platform.dox +++ b/os/io/platforms/AT91SAM7X/platform.dox @@ -43,6 +43,7 @@ * - @p PAL_MODE_RESET.
* - @p PAL_MODE_UNCONNECTED.
* - @p PAL_MODE_INPUT.
+ * - @p PAL_MODE_INPUT_ANALOG (same as @p PAL_MODE_INPUT).
* - @p PAL_MODE_INPUT_PULLUP.
* - @p PAL_MODE_OUTPUT_PUSHPULL.
* - @p PAL_MODE_OUTPUT_OPENDRAIN.
diff --git a/os/io/platforms/LPC214x/platform.dox b/os/io/platforms/LPC214x/platform.dox index 0f6536e0e..65bcaab31 100644 --- a/os/io/platforms/LPC214x/platform.dox +++ b/os/io/platforms/LPC214x/platform.dox @@ -55,6 +55,7 @@ * - @p PAL_MODE_RESET.
* - @p PAL_MODE_UNCONNECTED.
* - @p PAL_MODE_INPUT.
+ * - @p PAL_MODE_INPUT_ANALOG (same as @p PAL_MODE_INPUT).
* - @p PAL_MODE_OUTPUT_PUSHPULL.
* .
* Any attempt to setup an invalid mode is ignored.
diff --git a/os/io/platforms/MSP430/pal_lld.h b/os/io/platforms/MSP430/pal_lld.h index 91c0707c1..4fbde7a40 100644 --- a/os/io/platforms/MSP430/pal_lld.h +++ b/os/io/platforms/MSP430/pal_lld.h @@ -35,6 +35,7 @@ #undef PAL_MODE_INPUT_PULLUP
#undef PAL_MODE_INPUT_PULLDOWN
+#undef PAL_MODE_INPUT_ANALOG
#undef PAL_MODE_OUTPUT_OPENDRAIN
/*===========================================================================*/
diff --git a/os/io/platforms/STM32/platform.dox b/os/io/platforms/STM32/platform.dox index 91c161ea1..1ffad7616 100644 --- a/os/io/platforms/STM32/platform.dox +++ b/os/io/platforms/STM32/platform.dox @@ -48,6 +48,7 @@ * - @p PAL_MODE_INPUT.
* - @p PAL_MODE_INPUT_PULLUP.
* - @p PAL_MODE_INPUT_PULLDOWN.
+ * - @p PAL_MODE_INPUT_ANALOG.
* - @p PAL_MODE_OUTPUT_PUSHPULL.
* - @p PAL_MODE_OUTPUT_OPENDRAIN.
* .
|