aboutsummaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-21 22:46:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-21 22:46:37 +0000
commite504d643fc23cefe61340e4d3a75d6e80f4b76fb (patch)
tree92b2fcfe90a10a9f5d03843396e9cb1c30cd8ac4 /nuttx/arch
parent41b7f883e55c3ad085e4e538b5703369ae6e59d2 (diff)
downloadpx4-firmware-e504d643fc23cefe61340e4d3a75d6e80f4b76fb.tar.gz
px4-firmware-e504d643fc23cefe61340e4d3a75d6e80f4b76fb.tar.bz2
px4-firmware-e504d643fc23cefe61340e4d3a75d6e80f4b76fb.zip
Beginning of support for LCD1602
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5545 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/mips/src/pic32mx/pic32mx-pmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/pic32mx/pic32mx-pmp.h b/nuttx/arch/mips/src/pic32mx/pic32mx-pmp.h
index 745c56a3d..abfc3358b 100644
--- a/nuttx/arch/mips/src/pic32mx/pic32mx-pmp.h
+++ b/nuttx/arch/mips/src/pic32mx/pic32mx-pmp.h
@@ -157,7 +157,8 @@
# define PMP_MODE_MODE_SLAVE (1 << PMP_MODE_MODE_SHIFT) /* Enhanced slave mode */
# define PMP_MODE_MODE_MODE2 (2 << PMP_MODE_MODE_SHIFT) /* Master mode 2 */
# define PMP_MODE_MODE_MODE1 (3 << PMP_MODE_MODE_SHIFT) /* Master mode 1 */
-#define PMP_MODE_MODE16 (1 << 10) /* Bit 10: 8/16-bit mode */
+#define PMP_MODE_MODE16 (1 << 10) /* Bit 10: 1=16-bit mode */
+#define PMP_MODE_MODE8 (0) /* 0=8-bit mode */
#define PMP_MODE_INCM_SHIFT (11) /* Bits 11-12: Increment Mode */
#define PMP_MODE_INCM_MASK (3 << PMP_MODE_INCM_SHIFT)
# define PMP_MODE_INCM_NONE (0 << PMP_MODE_INCM_SHIFT) /* No incr or decr of addr */