diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-22 14:30:54 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-22 14:30:54 +0000 |
commit | dfc3e19b4f9dba7e13bfb711565f82c4a67ff2d9 (patch) | |
tree | b53a5a33b32a96e89b5071bf551d713161844a12 /nuttx/drivers/lcd/Kconfig | |
parent | 7406abbc5ac56892524846c8a19d2aabfc34eef4 (diff) | |
download | px4-nuttx-dfc3e19b4f9dba7e13bfb711565f82c4a67ff2d9.tar.gz px4-nuttx-dfc3e19b4f9dba7e13bfb711565f82c4a67ff2d9.tar.bz2 px4-nuttx-dfc3e19b4f9dba7e13bfb711565f82c4a67ff2d9.zip |
Add an ST7567 LCD driver for ZKIT-ARM-1769
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5772 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/lcd/Kconfig')
-rw-r--r-- | nuttx/drivers/lcd/Kconfig | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/nuttx/drivers/lcd/Kconfig b/nuttx/drivers/lcd/Kconfig index 2d20003ac..38c490deb 100644 --- a/nuttx/drivers/lcd/Kconfig +++ b/nuttx/drivers/lcd/Kconfig @@ -227,6 +227,63 @@ config UG9664HSWAG01_POWER endif +config LCD_ST7567 + bool "ST7567 LCD Display Module" + default n + ---help--- + LCD Display Module, ST7567, Univision Technology Inc. Used + with the LPCXpresso and Embedded Artists base board. + + Required LCD driver settings: + LCD_MAXCONTRAST should be 255, but any value >0 and <=255 will be accepted. + LCD_MAXPOWER should be 1: 0=off, 1=on + + Required SPI driver settings: + SPI_CMDDATA - Include support for cmd/data selection. + +if LCD_ST7567 + +config ST7567_SPIMODE + int "ST7567 SPI Mode" + default 0 + ---help--- + Controls the SPI mode + +config ST7567_FREQUENCY + int "ST7567 SPI Frequency" + default 3500000 + ---help--- + Define to use a different bus frequency + +config ST7567_NINTERFACES + int "Number of ST7567 Devices" + default 1 + ---help--- + Specifies the number of physical ST7567 devices that will be + supported. NOTE: At present, this must be undefined or defined to be 1. + +config ST7567_POWER + bool "Power control" + default n + ---help--- + If the hardware supports a controllable LCD a power supply, this + configuration should be defined. In this case the system must + provide an interface ug_power(). + +config ST7567_XRES + int "ST7567 X Resolution" + default 128 + ---help--- + Specifies the X resolution of the LCD. + +config ST7567_YRES + int "ST7567 Y Resolution" + default 64 + ---help--- + Specifies the Y resolution of the LCD. + +endif + config LCD_UG2864AMBAG01 bool "UG-2864AMBAG01 OLED Display Module" default n |