mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 15:13:33 +08:00
In 16-bit address mode, FSMC_A16 corresponds to address bit 17
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4789 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -95,12 +95,13 @@
|
|||||||
* Bank 3 = 0x60000000 | 0x08000000
|
* Bank 3 = 0x60000000 | 0x08000000
|
||||||
* Bank 4 = 0x60000000 | 0x0c000000
|
* Bank 4 = 0x60000000 | 0x0c000000
|
||||||
*
|
*
|
||||||
* Address bit 16 is used to distinguish command and data
|
* FSMC address bit 16 is used to distinguish command and data. FSMC address bits
|
||||||
|
* 0-24 correspond to ARM address bits 1-25.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define STM32_LCDBASE ((uintptr_t)(0x60000000 | 0x00000000))
|
#define STM32_LCDBASE ((uintptr_t)(0x60000000 | 0x00000000))
|
||||||
#define LCD_INDEX (STM32_LCDBASE)
|
#define LCD_INDEX (STM32_LCDBASE)
|
||||||
#define LCD_DATA (STM32_LCDBASE + 0x00010000)
|
#define LCD_DATA (STM32_LCDBASE + 0x00020000)
|
||||||
|
|
||||||
/* SRAM pin definitions */
|
/* SRAM pin definitions */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user