[an error occurred while processing this directive]
|
/*Example PLL control code */
iopg = 0x00; /* Init IOPG to Clk/Sys Control */
ax1 = 0x0552; /* Stop the PLL - In Bypass */
io(0x200) = ax1; nop; /* Write the PLLCTL register */
ax1 = 0x0552; /* Reprogram to 1x - In Bypass */
io(0x200) = ax1; nop; /* Write the PLLCTL register */
ax1 = 0x0550; /* Start the PLL - In Bypass */
io(0x200) = ax1; nop; /* Write the PLLCTL register */
ax1 = 0x0450; /* Exit Bypass- ~500 clkin cycles */
io(0x200) = ax1; /* Write the PLLCTL register */
cntr = 1100; /* Wait for a duration of time */
do wt until ce;
wt: nop;
E-mail: info@telesys.ru