Programs can manage responses to signals by configuring registers. In a
sample audio application, for example, upon detection of a change of pro-
tocol, the output can be muted. This change of output and the resulting
behavior (causing the sound to be muted) results in an alert signal (an
interrupt) being introduced in response (if the detection of a protocol
change is a high priority interrupt).
The
DAI_IRPTL_FE
on the falling edge.
Use of the
DAI_IRPT_RE
and respond to rising edges, falling edges, both rising and falling edges, or
neither rising nor falling edges so they can be masked separately.
Enabling responses to changes in condition signals (including changes in
DMA state, introduction of error conditions, and so on) can only be
enabled using the
Using the SRU() Macro
As discussed above, the Signal Routing Unit is controlled by writing val-
ues that correspond to signal sources into bit fields that further correspond
to signal inputs. The SRU is arranged into functional groups such that the
registers that are made up of these bit fields accept a common set of source
signal values.
In order to ease the coding process, the include file
included with the CrossCore or VisualDSP++ tools. This file implements
a macro that abstracts away most of the work of signal assignments and
functions.
The macro has identical syntax in C/C++ and assembly, and makes a sin-
gle connection from an output to an input:
SRU(OutputSignal,InputSignal);
ADSP-2126x SHARC Processor Hardware Reference
register can only be used for latching interrupts
or
DAI_IRPT_FE
register.
DAI_IRPT_RE
Digital Audio Interface
registers allows programs to notice
sru2126x.h
, is
12-31
Need help?
Do you have a question about the ADSP-21261 SHARC and is the answer not in the manual?
Questions and answers