|
三星4510b的代码定义中为啥地址有个基址?3ff0000
#define SFR_BASE 0x3FF8000
#define INTPND (*((volatile unsigned long *) (SFR_BASE + 0x4004)))
手册上如 INTPND写的是 0x4004
另外在初始化内存时下列代码是啥意思。能帮我注释并解释一下不?
;*******************************************************
; SDRAM System Initialize Data
;*******************************************************
LDR R0, =0x3FF0000 + 0x3010
LDR R1, =0x05503003
LDR R2, =0x04000060
LDR R3, =0x60
LDR R4, =0x60
LDR R5, =0x60
LDR R6, =0x60
LDR R7, =0x60
LDR R8, =0x14010380
LDR R9, =0x0
LDR R10,=0x0
LDR R11,=0x0
LDR R12,=0xce3383f0
STMIA R0, {R1-R12}
LDR R0,=0x3FF300C
LDR R2,=0x3FF3008
LDR R1,=0x0fffffff
STR R1,[R0]
STR R1,[R2]
LDR R3,=0x3ff5000
LDR R4,=0xff
STR R4,[R3]
|
|