diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-05 16:16:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-05 16:16:50 +0000 |
commit | cfa1ad10cc2205b7593733ce44467b9c01aa59ae (patch) | |
tree | 9f54248a1d4ded3fc60437175cd1dd82842ff6ee /nuttx/drivers/lcd/pcf8833.h | |
parent | ace7692e077e1f6213b604f2e9cbd235ae0ce824 (diff) | |
download | px4-nuttx-cfa1ad10cc2205b7593733ce44467b9c01aa59ae.tar.gz px4-nuttx-cfa1ad10cc2205b7593733ce44467b9c01aa59ae.tar.bz2 px4-nuttx-cfa1ad10cc2205b7593733ce44467b9c01aa59ae.zip |
Add beginning of Nokia6100 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3162 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/lcd/pcf8833.h')
-rwxr-xr-x | nuttx/drivers/lcd/pcf8833.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/drivers/lcd/pcf8833.h b/nuttx/drivers/lcd/pcf8833.h index ed2670214..b0a7e14d4 100755 --- a/nuttx/drivers/lcd/pcf8833.h +++ b/nuttx/drivers/lcd/pcf8833.h @@ -107,6 +107,14 @@ #define PCF8833_ECM 0xf0 /* Enter Calibration mode; Data: (1) Calibration control settings */
#define PCF8833_OTPSHTIN 0xf1 /* Shift data in OTP shift registers; Data: Any number of bytes */
+/* Memory data access control (MADCTL) bit definitions */
+
+#define MADCTL_RGB (1 << 3) /* Bit 3: BGR */
+#define MADCTL_LAO (1 << 4) /* Bit 4: Line address order bottom to top */
+#define MADCTL_V (1 << 5) /* Bit 5: Vertical RAM write; in Y direction */
+#define MADCTL_MX (1 << 6) /* Bit 6: Mirror X */
+#define MADCTL_MY (1 << 7) /* Bit 7: Mirror Y */
+
/* PCF8833 status register bit definitions */
/* CMD format: RDDST command followed by four status bytes: */
/* Byte 1: D31 d30 D29 D28 D27 D26 --- --- */
|