
ADSP-BF59x Blackfin Processor Hardware Reference
6-25
Dynamic Power Management
The
read.uwPllCtl
and
read.uwPllDiv
variables access the
PLL_CTL
and
PLL_DIV
register values, respectively. To update the register values, specify
the
SYSCTRL_WRITE
instruction flag along with the register flags of those
registers that should be modified and have valid data in the respective
ADI_SYSCTRL_VALUES
variables:
ADI_SYSCTRL_VALUES write;
write.uwPllCtl = 0x0C00;
write.uwPllDiv = 0x0004;
bfrom_SysControl (SYSCTRL_WRITE | SYSCTRL_PLLCTL |SYSCTRL_PLLDIV,
&write, NULL);
Accessing the System Control ROM Function in
Assembly
The assembler supports C structs, which is required to import the file
bfrom.h:
#include <bfrom.h>
.IMPORT "bfrom.h";
.STRUCT ADI_SYSCTRL_VALUES dpm;
You can pre-load the struct:
.STRUCT ADI_SYSCTRL_VALUES dpm = { 0x3000, 0x0C00, 0x0004,
0x0200, 0x00A2 };
or load the values dynamically inside the code:
P5.H = hi(dpm);
P5.L = lo(dpm->uwVrCtl);
R7 = 0x3000 (z);
w[P5] = R7;
P5.L = lo(dpm->uwPllCtl);
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...