SOPT1 = 0x00; // Clear COP Watchdog timeout
MCGC1 = 0xB8; // Select FBE MCG mode (IREFS=0, CLKS=10) MCGC2 = 0x36; // LP=0 and selects external high frequency crystal clock MCGC3 = 0x00; // PLLS=0
while(!(MCGSC&0x02)); // Wait until the initialization cycle of the external crystal clock is completed
------------------------------------------------------- S08DZ60 不知道为什么执行到while的时候,就跳不出来了??????? 高手指点!谢谢
[此贴子已经被作者于2008-6-2 12:45:56编辑过] |