www.pudn.com > SCI_1.0.rar > Init_Clock_.h, change:2011-09-22,size:256b


void Init_Clock()  
{      
  CLKSEL=0x00; 
  PLLCTL_PLLON=1;   //  on PLL 
 
  SYNR =0xc0 | 0x09;  //80M 
  //SYNR =0xc0 | 0x01;//Ϊ16MHz                      
  REFDV=0x80 | 0x01; 
 
  POSTDIV=0x00; 
  while(CRGFLG_LOCK!=1); 
  CLKSEL_PLLSEL=0x01; 
}