35-4
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
SCC entries can be grouped or spread by clearing or setting CICR[SPS], respectively; SPS
cannot be changed dynamically. These options are described as follows:
¥
If SPS = 1, the SCCs are grouped at the top of the priority table, ahead of most other
CPM interrupt sources. Grouping is useful where SCCs function at a very high data
rate and interrupt latency is critical.
¥
If SPS = 0, the SCC priorities are spread over the table so other sources can have
lower interrupt latencies than the SCCs.
35.2.2 Highest Priority Interrupt
The highest priority interrupt source can be selected dynamically by entering the interrupt
number in CICR[HPn], described in Table 35-3. This interrupt is still within the same
interrupt level speciÞed in CICR[IRL] but is serviced before any other CPM interrupt (that
is, if this type of interrupt is pending, its vector number returns Þrst when the CIVR is read.
35.2.3 Nested Interrupts
The CPIC supports a fully nested interrupt environment that allows a high priority interrupt
from another CPM source to suspend a lower priority service routine. An interrupt request
with highest priority is presented to the core for servicing, which the core acknowledges by
setting CIVR[IACK]. After IACK is set, the corresponding vector is indicated in the CIVR
and the request is cleared. The next request can be presented to the core. When the interrupt
is taken, the external interrupt enable bit of the coreÕs machine state register, MSR[EE] is
cleared to disable further interrupt requests until software can handle them.
The CPM interrupt in-service register (CISR) can be used to allow a higher priority
interrupt within the same interrupt level to be presented to the core before a lower priority
interrupt service completes. Each CISR bit corresponds to a CPM interrupt source. When
the core acknowledges the interrupt by setting IACK, the CPIC sets the CISR bit for that
interrupt source. This prevents subsequent CPM interrupt requests at this priority level or
lower, until the current interrupt is serviced and the CISR bit is cleared. Lower-priority
interrupts can still be set in the CPIC during this time, but they will pend until the CISR bit
for the higher-priority interrupt is cleared. Therefore, in the interrupt service routine for the
CPM interrupts, the core external interrupt enable MSR[EE] can be set to allow
higher-priority interrupts within the CPM or from other sources to generate an interrupt
request.
35.3 Masking Interrupt Sources in the CPM
An interrupt is masked by clearing and enabled by setting the corresponding CIMR bit; see
Section 35.5.3, ÒCPM Interrupt Mask Register.Ó When a masked source requests an
interrupt, the corresponding CIPR bit is set but the CPIC does not signal the interrupt to the
core. Masking all sources allows the implementation of a polling interrupt servicing
scheme.
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......