Using FLAG Pins
Using FLAG Pins
The ADSP-21160 processor holds four general-purpose FLAG IO pins.
The FLAG pins can be used as inputs or output depending on how they
are configured in the
written to and read from the
pins are input, their current state can be found by reading the
tem register. FLAG pins set as outputs are driven to the value written to
the
system register.
FLAGS
The location of the signals can be found in
The FLAG pins are summarized in
FLAGs, refer to the ADSP-21160 SHARC Processor Hardware Reference
Table 2-2. FLAG Pin Summary
1
FLAG
Pin
FLAG0
FLAG1
FLAG2
FLAG3
1
are available on connector
FLAG0–3
Using Interrupt Pins
The ADSP-21160 holds three interrupt request (
interact with the running program. The
inputs. To use these pins, you must enable the specific IRQ interrupt, as
well as enable global interrupts. You also need to write a special interrupt
service routine to handle the interrupts when they occur.
2-4
system register. The state of a FLAG can be
MODE2
FLAGFLAGS
Connects To
LED3
LED2
LED1
AD1881A Reset
.
P2
ADSP-21160 EZ-KIT Lite Evaluation System Manual
system register. When the FLAG
Appendix B,
Table
2-2. For more information on
Description
connect to the LEDs. These can be
FLAG2–0
used, for example, to light a LED when a rou-
tine completes.
connects directly to the reset pin of the
FLAG3
AD1881A audio codec. To reset the AD1881A,
drive this signal low.
~IRQ
pins can be used only as
~IRQ
sys-
FLAGS
"Schematics".
) pins that let you
Need help?
Do you have a question about the ADSP-21160 EZ-KIT Lite and is the answer not in the manual?
Questions and answers