Add UG-2864AMBAG01 initialization for use on STM32F4Discovery

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5321 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-08 01:28:32 +00:00
parent 2c1ccb79e3
commit f25f2a4856
6 changed files with 228 additions and 20 deletions
+11 -2
View File
@@ -47,8 +47,16 @@
* Included Files
**************************************************************************************/
#include <nuttx/config.h>
#include <stdbool.h>
#include <nuttx/arch.h>
#include "stm32_gpio.h"
#ifdef CONFIG_LCD_UG2864AMBAG01
/**************************************************************************************
* Pre-processor Definitions
**************************************************************************************/
@@ -214,8 +222,8 @@ extern "C"
*
**************************************************************************************/
struct lcd_dev_s; /* See nuttx/lcd.h */
struct spi_dev_s; /* See nuttx/spi.h */
struct lcd_dev_s; /* See include/nuttx/lcd/lcd.h */
struct spi_dev_s; /* See include/nuttx/spi.h */
FAR struct lcd_dev_s *ug2864ambag01_initialize(FAR struct spi_dev_s *spi,
unsigned int devno);
@@ -240,4 +248,5 @@ void ug2864ambag01_fill(FAR struct lcd_dev_s *dev, uint8_t color);
}
#endif
#endif /* CONFIG_LCD_UG2864AMBAG01 */
#endif /* __INCLUDE_NUTTX_UG_8264AMBAG01_H */