memsetup.c
来自「这是EP7312开发板的一些测试与开发的源代码」· C语言 代码 · 共 22 行
C
22 行
#include "EP7312.h"
void memsetup()
{
// Set the registers for SDRAM Bank 0, nSDCS0
SDCONF() = 0x0523;
SDRFPR() |= 0x0240;
// Set the registers for FLASH Bank 0, nCS0
// Set the registers for FLASH Bank 1, nCS1
// Set the registers for Ethernet Controller & IO Controller, nCS2
// Set the registers for Timer, nCS3
// Set the registers for NAND FLASH, nCS4
// Set the registers for LCD controller & CF card, nCS5
//return 1;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?