From cfa1ad10cc2205b7593733ce44467b9c01aa59ae Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 5 Dec 2010 16:16:50 +0000 Subject: Add beginning of Nokia6100 driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3162 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/drivers/lcd/pcf8833.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nuttx/drivers/lcd/pcf8833.h') 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 --- --- */ -- cgit v1.2.3