![Infineon Technologies TC1784 Скачать руководство пользователя страница 702](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446702.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-37
V1.1, 2011-05
PCP, V2.09
Further differences between these three mechanisms are detailed in the following
sections.
10.6.4.1 Service Request on EXIT Instruction
An implicit PCP service request is issued when the INT field of the EXIT instruction is set
to 1 and the specified condition code, cc_B, of this instruction is true. Such a service
request can be issued to any of the available interrupt buses, depending on the
programmed value in the TOS field of register R6. The PCP examines the TOS field in
register R6 and issues a service request to the appropriate queue of the service request
nodes. Along with this request, it passes the service request priority number stored in the
SRPN field of register R6 to the queue. If the queue has a free entry left, the service
request flag, SRR, of the associated service request register, PCP_SRCx, will be set,
and the service request priority number will be written to the SRPN field of the SRC
register. Please see
for the case where there is no free entry in the queue.
Because the desired service request is programmed through the TOS and SRPN fields
in register R6, each channel program can issue its individual service request. Note that
this register needs to be programmed properly if a service request is to be generated by
the EXIT instruction.
10.6.4.2 Service Request on Suspension of Interrupt
An implicit PCP service request is issued when the PCP suspends execution of the
ongoing channel program in favor of a service request with a higher priority. Such a
service request is always issued to the PCP’s own interrupt bus and is stored in one of
the three extended Service Request Nodes (PCP_SCR9, PCP_SRC10, PCP_SRC11).
Along with this request, it passes the current channel operating priority (CPPN) as an
SRPN and also the channel number (the original SRPN). The service request flag, SRR,
and the Restart Request flag, RRQ, of the associated service request register,
PCP_SRCx, will be set, the Operating Priority will be written to the SRPN field, and the
channel number will be written to the SRNC field of the SRC register.
Use of the Operating Priority as the SRPN for resumption of the channel program
ensures that during subsequent arbitration rounds the PCP will resume execution of the
suspended channel program at the appropriate time.
The PCP treats an interrupt request with the RRQ bit set in a special fashion. In this case
the PCP clears the interrupt request bit in the appropriate internal Service Request Node
but does not issue an interrupt acknowledge to any external nodes. This prevents the
unwanted clearing of external service requests with an SRPN that matches the priority
of a suspended channel.
Note: The PCP will only suspend channel operation when there are two or more free
SRNs with the appropriate TOS value for the PCP, and one of the free SRNs is an
Содержание 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 ...