summaryrefslogtreecommitdiff
path: root/nuttx/drivers/lcd/s1d15g10.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-02 15:43:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-12-02 15:43:33 +0000
commit42a5fb251254f855b5f3911337d56f0cccfcc37f (patch)
tree1e53f4c0798b3c06fed0db17cd6fc367169a8a57 /nuttx/drivers/lcd/s1d15g10.h
parentb6294da7eaef0e45656c67f5009d8ed71b708b08 (diff)
downloadpx4-nuttx-42a5fb251254f855b5f3911337d56f0cccfcc37f.tar.gz
px4-nuttx-42a5fb251254f855b5f3911337d56f0cccfcc37f.tar.bz2
px4-nuttx-42a5fb251254f855b5f3911337d56f0cccfcc37f.zip
Clean up status bit definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3156 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/lcd/s1d15g10.h')
-rwxr-xr-xnuttx/drivers/lcd/s1d15g10.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/drivers/lcd/s1d15g10.h b/nuttx/drivers/lcd/s1d15g10.h
index d2512b23b..7903f2f2f 100755
--- a/nuttx/drivers/lcd/s1d15g10.h
+++ b/nuttx/drivers/lcd/s1d15g10.h
@@ -36,8 +36,8 @@
*
**************************************************************************************/
-#ifndef __DRIVERS_LCD_PCF8833_H
-#define __DRIVERS_LCD_PCF8833_H
+#ifndef __DRIVERS_LCD_S1D15G10_H
+#define __DRIVERS_LCD_S1D15G10_H
/**************************************************************************************
* Included Files
@@ -87,11 +87,11 @@
/* Status register bit definions (after reset or NOP) */
-#define S1D15G10_SR_PARTIAL (1 << 0) /* Bit 1: Partial display */
-#define S1D15G10_SR_INVERSE (1 << 1) /* Bit 1: Display on */
+#define S1D15G10_SR_PARTIAL (1 << 0) /* Bit 0: Partial display */
+#define S1D15G10_SR_NORMAL (1 << 1) /* Bit 1: Normal (vs. inverse) display */
#define S1D15G10_SR_EEPROM (1 << 2) /* Bit 2: EEPROM access */
#define S1D15G10_SR_DISPON (1 << 3) /* Bit 3: Display on */
-#define S1D15G10_SR_COLSCAN (1 << 4) /* Bit 4: Column scan direction */
+#define S1D15G10_SR_COLSCAN (1 << 4) /* Bit 4: Column (vs. page) scan direction */
#define S1D15G10_SR_RMW (1 << 5) /* Bit 5: Read modify write */
#define S1D15G10_SR_SCROLL (3 << 6) /* Bits 6-7: Area scroll mode */
@@ -103,4 +103,4 @@
#define S1D15G10_SR_VOLUME 0x07 /* Bits 0-2: Built-in resistance ratio */
-#endif /* __DRIVERS_LCD_PCF8833_H */ \ No newline at end of file
+#endif /* __DRIVERS_LCD_S1D15G10_H */ \ No newline at end of file