Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
59e5e2f5
Commit
59e5e2f5
authored
9 years ago
by
Pierre-noel Bouteville
Committed by
Gregory Nutt
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
drivers/lcd/st7565.c: Extend to include support for the ERC12864-3. From Pierre-noel Bouteville
parent
01bfc37a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
ChangeLog
+3
-0
3 additions, 0 deletions
ChangeLog
arch
+1
-1
1 addition, 1 deletion
arch
drivers/lcd/Kconfig
+3
-0
3 additions, 0 deletions
drivers/lcd/Kconfig
drivers/lcd/st7565.c
+11
-0
11 additions, 0 deletions
drivers/lcd/st7565.c
with
18 additions
and
1 deletion
ChangeLog
+
3
−
0
View file @
59e5e2f5
...
...
@@ -11011,3 +11011,6 @@
* libc/stdlib/lib_qsort.c and include/stdlib.h: Make coding style
more conformant, take description from OpenGroup.org, rename formal
parameters to match names used on OpenGroup.org (2015-10-02).
* drivers/lcd/st7565.c: Extend to include support for the ERC12864-3.
From Pierre-noel Bouteville (2015-10-07).
This diff is collapsed.
Click to expand it.
arch
@
0b8c98bf
Subproject commit 0
f4940ff6339d4a4e4b8fdfeb3af8dd54f77b93f
Subproject commit 0
b8c98bfac171b330430a02070ecbe8bb9618de3
This diff is collapsed.
Click to expand it.
drivers/lcd/Kconfig
+
3
−
0
View file @
59e5e2f5
...
...
@@ -564,6 +564,9 @@ choice
config NHD_C12864KGZ
bool "like NHD C12864KGZ"
config ERC_12864_3
bool "like ERC12864-3"
endchoice
config ST7565_NINTERFACES
...
...
This diff is collapsed.
Click to expand it.
drivers/lcd/st7565.c
+
11
−
0
View file @
59e5e2f5
...
...
@@ -1025,6 +1025,17 @@ FAR struct lcd_dev_s *st7565_initialize(FAR struct st7565_lcd_s *lcd,
(
void
)
st7565_send_one_data
(
priv
,
ST7565_POWERCTRL_INT
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_SETSTARTLINE
);
#elif CONFIG_ERC_12864_3
(
void
)
st7565_send_one_data
(
priv
,
ST7565_ADCNORMAL
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_SETCOMREVERSE
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_BIAS_1_9
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_POWERCTRL_INT
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_REG_RES_5_5
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_SETEVMODE
);
(
void
)
st7565_send_one_data
(
priv
,
ST7565_SETEVREG
(
0x24
));
(
void
)
st7565_send_one_data
(
priv
,
ST7565_SETSTARTLINE
);
#else
# error "No initialization sequence selected"
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment