EasyManuals Logo

Analog Devices SHARC ADSP-214 Series User Manual

Analog Devices SHARC ADSP-214 Series
1192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #754 background imageLoading...
Page #754 background image
Interrupts
21-16 ADSP-214xx SHARC Processor Hardware Reference
Interrupt Routing
The following sections describe the various possibilities for routing a TWI
interrupt to the interrupt vector table (IVT).
DPI
The TWI interrupt is combined into the digital peripheral interface (DPI)
interrupt. The DPI_IRPTL register determines whether an interrupt is gen-
erated. Listing 21-1 shows an example of how to enable the TWI over the
DPI.
Listing 21-1. Enabling DPI TWI Interrupts
bit set mode1 IRPTEN; /* enables global interrupts */
bit set imask DPII; /* unmasks DPI interrupt */|
ustat1 = TWI_INT;
dm(DPI_IRPTL_RE) = ustat1; /* unmasks TWI interrupt */
TWI
The TWI receive and transmit interrupts can also be programmed
through the peripheral interrupt control registers (PICRx) as separate inter-
Table 21-4. TWI Interrupt Overview
Interrupt
Source
Interrupt Condition Interrupt
Completion
Interrupt
Acknowledge
Default IVT
DPI TWI
(TX/RX)
– Master (TX completion, TX/RX
buffer service, error)
– slave (initiative, completion,
overflow, error)
Internal transfer
completion
W1C (Write one
to clear) TWI-
IRPTL register +
RTI instruction
P14I
TWI(TX/RX) – Master (TX completion, TX/RX
buffer service, error)
– slave (initiative, completion,
overflow, error)
Internal transfer
completion
W1C (Write one
to clear) TWI-
IRPTL register +
RTI instruction
Need to route
TWII (PICRx)
to any PxxI
www.BDTIC.com/ADI

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Analog Devices SHARC ADSP-214 Series and is the answer not in the manual?

Analog Devices SHARC ADSP-214 Series Specifications

General IconGeneral
BrandAnalog Devices
ModelSHARC ADSP-214 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals