summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-04-01 13:10:14 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-04-01 13:10:14 +0000
commit8e9c9c4fd33836b5504ede9cacdb111d6877ef1b (patch)
tree04e811356c79b945a2b5704f3f011eb18433928e /nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
parent53115c611716b692fbb3622e150c96c0431d147c (diff)
downloadpx4-nuttx-8e9c9c4fd33836b5504ede9cacdb111d6877ef1b.tar.gz
px4-nuttx-8e9c9c4fd33836b5504ede9cacdb111d6877ef1b.tar.bz2
px4-nuttx-8e9c9c4fd33836b5504ede9cacdb111d6877ef1b.zip
LPC1788 LCD fixes from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5806 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h')
-rwxr-xr-xnuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h b/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
index 11a94240c..cf2620ebe 100755
--- a/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
+++ b/nuttx/arch/arm/src/lpc17xx/chip/lpc178x_iocon.h
@@ -332,9 +332,9 @@
/* Pin modes */
#define IOCON_MODE_FLOAT (0) /* 00: pin has neither pull-up nor pull-down */
-#define IOCON_MODE_PD (1) /* 00: pin has a pull-down resistor enabled */
-#define IOCON_MODE_PU (2) /* 00: pin has a pull-up resistor enabled */
-#define IOCON_MODE_RM (3) /* 00: pin has repeater mode enabled */
+#define IOCON_MODE_PD (1) /* 01: pin has a pull-down resistor enabled */
+#define IOCON_MODE_PU (2) /* 10: pin has a pull-up resistor enabled */
+#define IOCON_MODE_RM (3) /* 11: pin has repeater mode enabled */
/************************************************************************************
* Public Types