#define GPBCON (volatile unsigned long*)0x56000010 #define GPBDAT (volatile unsigned long*)0x56000014 int gboot_main() { *(GPBCON) = 0x15400; *(GPBDAT) = 0x6BF; return 0; }
|
|
来自: 宁波草堂 > 《第3课-跃进入C大门》