TC1784
Interrupt System
User´s Manual
13-22
V1.1, 2011-05
Interrupt, V1.4
13.8.6
Interrupt Priority 1
Interrupt Priority 1 is the first and lowest-priority entry in the Interrupt Vector Table. It is
generally reserved for ISRs which perform task management. ISRs whose actions cause
software-managed tasks to be created post a software interrupt request at priority level 1
to signal the event.
The ISR that triggers this event can then execute a normal return from interrupt. There
is no need for it to check whether the ISR is returning to the background-task priority level
(priority 0) or is returning to a lower-priority ISR that it interrupted. When there is a
pending interrupt at a priority higher than the return context for the current interrupt, this
interrupt will then be serviced. When a return to the background-task priority level
(level 0) is performed, the software-posted interrupt at priority level 1 will be serviced
automatically.
13.8.7
Software-Initiated Interrupts
Software can set the service request bit (SRR) in a SRN by writing to its Service Request
Control Register. Thus, software can initiate interrupts that are handled by the same
mechanism as hardware interrupts.
After the SRR bit is set in an active SRN, there is no way to distinguish between a
software-initiated interrupt request and a hardware interrupt request. For this reason,
software should only use SRNs and interrupt priority numbers that are not being used for
hardware interrupts.
The TC1784 contains four SRNs that support software-initiated interrupts. These SRNs
are not connected to peripheral modules and can only cause interrupts when software
sets its SRR bit. These SRNs are called the CPU Service Request Nodes
(CPU_SRC[3:0]). The PCP can also cause these four SRNs to generate service
requests. See also the TriCore chapter for TC1784-specific implementation details of the
four CPU Service Request Control Registers.
Additionally, any otherwise unused SRN can be employed to generate software
interrupts.
13.8.8
External Interrupts
Four SRNs (SCU_SRC[3:0]) are reserved to handle external interrupts. The setup for
external GPIO port input signals (edge/level triggering, gating etc.) that are able to
generate an interrupt request is controlled in the External Request Unit (ERU). The ERU
functionality is described in detail in the SCU chapter.
Содержание 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 ...