From 38e8bd844461e59f2f3c0afb984a87602dedf773 Mon Sep 17 00:00:00 2001 From: Andrei Gansari Date: Wed, 9 Oct 2019 15:28:11 +0300 Subject: [PATCH] soc: define gpio pull-down for LPC54114 Add define that maps to IOCON register PULL-DOWN bit. Signed-off-by: Andrei Gansari --- soc/arm/nxp_lpc/lpc54xxx/soc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/arm/nxp_lpc/lpc54xxx/soc.h b/soc/arm/nxp_lpc/lpc54xxx/soc.h index 91d7dd0744e..3372c51ab10 100644 --- a/soc/arm/nxp_lpc/lpc54xxx/soc.h +++ b/soc/arm/nxp_lpc/lpc54xxx/soc.h @@ -34,5 +34,6 @@ #define IOCON_PIO_OPENDRAIN_DI 0x00u #define IOCON_PIO_SLEW_STANDARD 0x00u #define IOCON_PIO_MODE_PULLUP 0x10u +#define IOCON_PIO_MODE_PULLDOWN 0x08u #endif /* _SOC__H_ */