diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-24 21:31:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-24 21:31:24 +0000 |
commit | 68f81e1dfef545a718da2932d61aa207ea4588b2 (patch) | |
tree | 531befccc69a0cbe110d3f03ea7e1bb272d68c03 /nuttx/include | |
parent | 5dbd06960d203d52f2b276ed8c7747ee9643fee7 (diff) | |
download | px4-nuttx-68f81e1dfef545a718da2932d61aa207ea4588b2.tar.gz px4-nuttx-68f81e1dfef545a718da2932d61aa207ea4588b2.tar.bz2 px4-nuttx-68f81e1dfef545a718da2932d61aa207ea4588b2.zip |
Add STM32F4Discovery support for an SSD1289-based LCD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4769 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/lcd/ssd1289.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/nuttx/include/nuttx/lcd/ssd1289.h b/nuttx/include/nuttx/lcd/ssd1289.h index 95e1f1d07..5a113c09f 100644 --- a/nuttx/include/nuttx/lcd/ssd1289.h +++ b/nuttx/include/nuttx/lcd/ssd1289.h @@ -51,8 +51,19 @@ * Pre-processor Definitions **************************************************************************************/ /* Configuration **********************************************************************/ -/* CONFIG_SSD1289_WRONLY - The LCD interface support write-only operation. -*/ +/* CONFIG_LCD_SSD1289 - Enables support for the SSD1289-based LCD. + * CONFIG_LCD_NOGETRUN + * NX components need to know if it can read from the LCD or not. If reading from the + * LCD is supported then some graphic operations can be improved. Default: Supported + * CONFIG_LCD_LANDSCAPE - Define for 320x240 display "landscape" support. Default is + * this 320x240 "landscape" orientation. + * CONFIG_LCD_RLANDSCAPE - Define for 320x240 display "reverse landscape" support. + * Default is this 320x240 "landscape" orientation + * CONFIG_LCD_PORTRAIT - Define for 240x320 display "portrait" orientation support. + * Default is this 320x240 "landscape" orientation + * CONFIG_LCD_RPORTRAIT - Define for 240x320 display "reverse portrait" orientation + * support. Default is this 320x240 "landscape" orientation + */ /************************************************************************************** * Public Types @@ -80,7 +91,7 @@ struct ssd1289_lcd_s void (*select)(FAR struct ssd1289_lcd_s *dev); void (*deselect)(FAR struct ssd1289_lcd_s *dev); void (*index)(FAR struct ssd1289_lcd_s *dev, uint8_t index); -#ifndef CONFIG_SSD1289_WRONLY +#ifndef CONFIG_LCD_NOGETRUN uint16_t (*read)(FAR struct ssd1289_lcd_s *dev); #endif void (*write)(FAR struct ssd1289_lcd_s *dev, uint16_t value); |