[an error occurred while processing this directive]
|
//===========================================================================
//Init PLL *4
//====================================================================
void InitPLL(){
CKSCR_MCS = 1; /* Switch off PLL clock. */
__asm("\tNOP");
CKSCR_CS1 = 1;
CKSCR_CS0 = 1; /* Set PLL frequency multiplier to 4 */
__asm("\tNOP");
CKSCR_MCS = 0; /* Start PLL. */
do {} while(CKSCR_MCM); /* Wait for PLL clock to stabilize. */
}
E-mail: info@telesys.ru