mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Support for Sharp Memory LCD. From Librae
This commit is contained in:
+51
-1
@@ -21,7 +21,7 @@ config LCD_NOGETRUN
|
||||
|
||||
config LCD_MAXCONTRAST
|
||||
int "LCD maximum contrast"
|
||||
default 63 if NOKIA6100_S1D15G10
|
||||
default 63 if NOKIA6100_S1D15G10 || LCD_SHARP_MEMLCD
|
||||
default 127 if NOKIA6100_PCF8833
|
||||
default 255 if LCD_P14201 || LCD_LCD1602
|
||||
default 63
|
||||
@@ -433,6 +433,56 @@ config SSD1289_PROFILE3
|
||||
endchoice
|
||||
endif
|
||||
|
||||
config LCD_SHARP_MEMLCD
|
||||
bool "Sharp Memory LCD Suite"
|
||||
default n
|
||||
---help---
|
||||
memlcd.c. Driver for Sharp Memory LCD Suite.
|
||||
|
||||
if LCD_SHARP_MEMLCD
|
||||
|
||||
choice MEMLCD_MODEL
|
||||
prompt "Choose Model"
|
||||
default MEMLCD_LS013B7DH03
|
||||
|
||||
config MEMLCD_LS013B7DH01
|
||||
bool "LS013B7DH01"
|
||||
---help---
|
||||
Selects the LS013B7DH01 model
|
||||
|
||||
config MEMLCD_LS013B7DH03
|
||||
bool "LS013B7DH03"
|
||||
---help---
|
||||
Selects the LS013B7DH03 model
|
||||
|
||||
endchoice
|
||||
|
||||
config MEMLCD_NINTERFACES
|
||||
int "Number of physical Memory LCD devices"
|
||||
default 1
|
||||
range 1 1
|
||||
---help---
|
||||
Specifies the number of physical Memory LCD devices that will
|
||||
be supported.
|
||||
|
||||
config MEMLCD_EXTCOMIN_MODE_HW
|
||||
bool "Use hardware mode for EXTCOMIN"
|
||||
default n
|
||||
---help---
|
||||
If use hardware mode to toggle VCOM, we need to send specific
|
||||
command at a constant frequency to trigger the LCD intenal
|
||||
hardware logic. While use software mode, we set up a timer to
|
||||
toggle EXTCOMIN connected IO, basically, it is a hardware
|
||||
timer to ensure a constant frequency.
|
||||
|
||||
config MEMLCD_SPI_FREQUENCY
|
||||
int "SPI frequency"
|
||||
default 3500000
|
||||
---help---
|
||||
Define to use a different bus frequency, FIXME DEFAULT VALUE OK?
|
||||
|
||||
endif
|
||||
|
||||
choice
|
||||
prompt "LCD Orientation"
|
||||
default LCD_LANDSCAPE
|
||||
|
||||
@@ -71,6 +71,10 @@ ifeq ($(CONFIG_LCD_ST7567),y)
|
||||
CSRCS += st7567.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LCD_SHARP_MEMLCD),y)
|
||||
CSRCS += memlcd.c
|
||||
endif
|
||||
|
||||
# Include LCD driver build support
|
||||
|
||||
DEPPATH += --dep-path lcd
|
||||
|
||||
@@ -108,6 +108,12 @@ Re-usable LCD drivers reside in the drivers/lcd directory:
|
||||
st7567.c. LCD Display Module, ST7567, Univision Technology Inc. Used
|
||||
with the LPCXpresso and Embedded Artists base board.
|
||||
|
||||
memlcd.c. Sharp Memory LCD Suite, LS013B7DH01, LS013B7DH03, etc.
|
||||
There are some more different models, they are basically controlled
|
||||
by similar logics, thus this driver can be extended. Example usage:
|
||||
|
||||
configs/maple
|
||||
|
||||
OLEDs:
|
||||
-----
|
||||
p14201.c. Driver for RiT P14201 series display with SD1329 IC
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user