📄 memsetup.c
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -