dsp56800 Freescale Semiconductor, Inc, dsp56800 Datasheet - Page 173

no-image

dsp56800

Manufacturer Part Number
dsp56800
Description
16-bit Digital Signal Controllers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
In the example interrupt priority register (IPR), shown in Figure 7-2, the interrupt for each on-chip
peripheral device (channels 0–6) and for each external interrupt source (IRQA, IRQB), can be enabled or
disabled under software control. The IPR also specifies the trigger mode of the external interrupt sources.
Figure 7-3 shows how it might be programmed for different interrupts.
7.3.5
An interrupt request is a request to break out of currently executing code to enter an interrupt service
routine. Interrupt requests in the DSC are generated from one of three sources: external hardware, internal
hardware, and internal software. The internal hardware interrupt sources include all of the on-chip
peripheral devices.
Each interrupt source has at least one associated interrupt vector, and some sources may have several
interrupt vectors. The interrupt vector addresses for each interrupt source are listed in the interrupt vector
table (Table 7-4). These addresses are usually located in either the first 64 or 128 locations of program
memory. For further information on a device’s on-chip peripheral interrupt sources, see the device’s
individual user’s manual.
Freescale Semiconductor
* Indicates reserved bits, read as zero and should be written with zero for future compatibility
Ch0
Ch1 Ch2 Ch3 Ch4 Ch5
Interrupt Sources
IBL0
IAL0
0
1
Figure 7-3. Example On-Chip Peripheral and IRQ Interrupt Programming
Enabled?
Yes
No
Figure 7-2. Example Interrupt Priority Register
Ch6
Interrupts and the Processing States
Chx
0
1
*
IPL
0
*
*
Enabled?
Yes
IBL
No
1
IBL
0
*
IBL1
IAL1
IPL
0
1
0
IAL IAL
1
0
*
Level sensitive
Trigger Mode
Edge sensitive
Exception Processing State
IRQA Mode
IRQB Mode
(Reserved)
Channel 6 IPL
Channel 5 IPL
Channel 4 IPL
Channel 3 IPL
Channel 2 IPL
Channel 1 IPL
Channel 0 IPL
AA0057
AA0058
7-9

Related parts for dsp56800