These values are communicated to the
function by passing a single command-value pair or a sequence of pairs in
a table terminated with the
for the
adi_pwr_Control
"adi_pwr_Control" on page
For example, to bypass the built-in voltage regulator, the following code
could be used.
adi_pwr_SetVoltageRegulator(ADI_PWR_SET_VR_FREQ,
(void*) ADI_PWR_VR_FREQ_POWERDOWN);
The following table defines the command-value pairs that can be used
with the
adi_pwr_SetVoltageRegulator
invalid.
Command
ADI_PWR_CMD_END
ADI_PWR_CMD_PAIR
ADI_PWR_CMD_TABLE
ADI_PWR_CMD_SET_VR_VLEV
ADI_PWR_CMD_SET_VR_FREQ
ADI_PWR_CMD_SET_VR_GAIN
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
Power Management Module
adi_pwr_SetVoltageRegulator
ADI_PWR_CMD_END
function. For more detailed information, refer to
3-18.
function. Use of any other pairs is
Associated Data Value
Data value is ignored as the command simply marks the
end of a table of command pairs.
Used to tell
adi_pwr_SetVoltageRegulator
single command pair is being passed.
Used to tell
adi_pwr_SetVoltageRegulator
table of command pairs is being passed.
value specifying the voltage level required
ADI_PWR_VLEV
of the voltage regulator. See
page
3-53.
ADI_PWR_VR_FREQ
regulator switching oscillator frequency. See
"ADI_PWR_VR_FREQ" on page
ADI_PWR_VR_FREQ_POWERDOWN
on-board voltage regulator.
ADI_PWR_VR_GAIN
gain of the switching regulator loop. See
"ADI_PWR_VR_GAIN" on page
command in the same way as
"ADI_PWR_VLEV" on
value specifying the required voltage
3-55. Use the
value to bypass the
value specifying the internal loop
3-55.
that a
that a
3-39
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?