mode_change
change selected system modes
Synopsis
#include <sysreg.h>
void mode_change(const int)
Description
The
mode_change
enable and disable a series of modes using the zero latency mode control
instructions.
The
mode_change
that the compiler converts into a series of enable and disable mode
settings.
The
sysreg.h
bolic variable that can be used as a parameter to
definitions are:
__MODE_ENA_AV_LATCH =0x1,
__MODE_ENA_AR_SAT
__MODE_ENA_M_MODE
__MODE_ENA_TIMER
__MODE_ENA_INT
__MODE_DIS_AV_LATCH =0x100,
__MODE_DIS_AR_SAT
__MODE_DIS_M_MODE
__MODE_DIS_TIMER
__MODE_DIS_INT
The
mode_change
emitted instructions will be inlined at the point of
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
;
function causes the compiler to emit instructions to
function takes as a parameter a constant integer bitmask
include file defines each mode bit setting value as a sym-
=0x2,
=0x4,
=0x8,
=0x10,
=0x200,
=0x400,
=0x800,
=0x1000,
function is implemented as a compiler built-in and the
C/C++ Run-Time Library
. These
mode_change
mode_change
use.
3-101
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?