Mode Control
The inclusion of
instructions to enable and disable a series of modes using the zero latency
mode control instructions.
The prototype for this function is, as defined in
void mode_change(const int _mode_spec);
The
_mode_spec
. These definitions are:
sysreg.h
__MODE_ENA_AV_LATCH
__MODE_ENA_AR_SAT
__MODE_ENA_M_MODE
__MODE_ENA_TIMER
__MODE_DIS_AV_LATCH
__MODE_DIS_AR_SAT
__MODE_DIS_M_MODE
__MODE_DIS_INT
Near and Far Type Qualifiers
The ADSP-219x processors can have external memory which will not by
default, for reasons of efficiency, be addressable in 16-bits from C/C++
source. The compiler provides an extension to support access to external
memory which allows use of external memory in C applications without
degrading performance when accessing internal memory. This extension is
enabled using a C type qualifiers, "
Declarations
This extension is enabled using a "
C/C++ variable declarations. The following are example uses of the "
and "
"type qualifiers.
near
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
allows the use of a function that generates the
sysreg.h
parameter is a bitmask of mode definitions defined in
=0x1,
=0x2,
=0x4,
=0x8,
=0x100,
=0x200,
=0x400,
=0x1000,
far
sysreg.h
" and "
".
far
near
" and "
" type qualifier in
near
Compiler
:
"
far
1-99
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers