-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ugfx: drivers: add CUBE0414 rev 2 support
- Loading branch information
Showing
4 changed files
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
#ifndef _CUBE0414_H | ||
#define _CUBE0414_H | ||
|
||
#define CUBE0414_CONF_WR 0x2A | ||
#define CUBE0414_ADDR_WR 0x2B | ||
#define CUBE0414_DATA_WR 0x2C | ||
#ifdef CONFIG_CUBE0414_REV_3 | ||
#define CUBE0414_CONF_WR 0x2A | ||
#define CUBE0414_ADDR_WR 0x2B | ||
#define CUBE0414_DATA_WR 0x2C | ||
#else | ||
#define CUBE0414_ADDR_WR 0xCC | ||
#define CUBE0414_DATA_WR 0xDA | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters