Full On Mode To Active Mode - Analog Devices Blackfin ADSP-BF537 Hardware Reference Manual

Hide thumbs Also See for Blackfin ADSP-BF537:
Table of Contents

Advertisement

Programming Examples
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( );
IMASK_reg */
*pPLL_CTL &= ~BYPASS;
*/
idle( );
/* drain pipeline, enter idled state, wait for PLL
wakeup */
sti(IMASK_reg);
and IMASK */
/* processor is now in Full On mode */

Full On Mode to Active Mode

Listing 20-5
and
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;
W[P0] = R1;
IDLE;
/* drain pipeline, enter idled state, wait for PLL wakeup
*/
20-30
/* disable interrupts, copy IMASK to
/* clear BYPASS bit and write to PLL_CTL
/* after PLL wakeup occurs, restore interrupts
Listing 20-6
provide code for transitioning from full on
/* set BYPASS bit */
/* and write to PLL_CTL */
ADSP-BF537 Blackfin Processor Hardware Reference

Advertisement

Table of Contents
loading

Table of Contents