Programming Examples
20-30
ADSP-BF537 Blackfin Processor Hardware Reference
IDLE; /* drain pipeline, enter idled state, wait for PLL wakeup
*/
STI R2; /* after PLL wakeup occurs, restore interrupts and
IMASK */
/* processor is now in Full On mode */
Listing 20-4. Transitioning From Active Mode to Full On Mode (C)
IMASK_reg = cli( ); /* disable interrupts, copy IMASK to
IMASK_reg */
*pPLL_CTL &= ~BYPASS; /* clear BYPASS bit and write to PLL_CTL
*/
idle( ); /* drain pipeline, enter idled state, wait for PLL
wakeup */
sti(IMASK_reg); /* after PLL wakeup occurs, restore interrupts
and IMASK */
/* processor is now in Full On mode */
Full On Mode to Active Mode
provide code for transitioning from full on
operating mode to active mode, in Blackfin assembly and C code,
respectively.
Listing 20-5. Transitioning From Full On Mode to Active Mode (ASM)
CLI R2; /* disable interrupts, copy IMASK to R2 */
R1.L = 0x3F00; /* set BYPASS bit */
W[P0] = R1; /* and write to PLL_CTL */
IDLE; /* drain pipeline, enter idled state, wait for PLL wakeup
*/
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...