TC1784
Interrupt System
User´s Manual
13-7
V1.1, 2011-05
Interrupt, V1.4
The SRPN is used by service providers to select an Interrupt Service Routine (ISR)) or
Channel Program (in case of the PCP) to service the request. ISRs are associated with
Service Request Priority Numbers by an Interrupt Vector Table located in each service
provider. This means that the TC1784 Interrupt Vector Table is ordered by priority
number. This is unlike traditional interrupt architectures in which their interrupt vector
tables are ordered by the source of the interrupt. The TC1784 Interrupt Vector Table
allows a single peripheral to have multiple priorities for different purposes.
The range of values for SRPNs used in a system depends on the number of possible
active service requests and the user-definable organization of the Interrupt Vector Table.
The 8-bit SRPNs permit up to 255 sources to be active at one time (remembering that
the special SRPN value of 00
H
excludes an SRN from taking part in arbitration).
Note: Before modifying the content of an SRPN bit field, the corresponding SRN must
be disabled (SRE = 0).
SRPNs in the TC1784
In the TC1784, interrupt sources selecting the same Service Provider are also allowed
to have identical SRPN values. In this case, the software (interrupt service routine) must
check which of the interrupt sources with identical SRPN has become active.
Note that module-specific interrupt request flags must be available because the SRR
flags cannot be used for this check. SRR flags (meaning all SRR flags of interrupts with
identical SRPN values) are in general automatically reset by hardware when a service
request is acknowledged and serviced.
Note: This practice with identical SRPN values is not recommended as it is not portable
to other TriCore devices.
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...