![Infineon Technologies TC1784 Скачать руководство пользователя страница 693](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446693.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-28
V1.1, 2011-05
PCP, V2.09
It is recommended that all EXIT instructions for all channels should use the EP = 0
setting when the PCP is operated in Channel Restart Mode (see
Note that when Channel Restart Mode is in use a Channel Entry Table must be provided
with a valid entry for every channel being used.
shows an example of CMEM
organization when Channel Restart Mode has been selected. Failure to provide a valid
entry for all channels that are in use will lead to invalid PCP operation.
10.4.3.2 Channel Resume Mode
Channel Resume Mode is selected with PCP_CS.RCB = 0. In this mode, the user can
arbitrarily determine the address at which the channel program will be started the next
time it is invoked. For this purpose, the PC is saved and restored as part of the context
of a PCP channel.
Additional flexibility is available when Channel Resume Mode is globally selected by
configuring each EXIT instruction to determine the channel start address to be used on
the next invocation of a channel (see
). When the EP = 0 setting is used, the
PC value saved in the channel’s context (saved in CPC) is the address of the appropriate
location in the channel entry table. This forces the channel to start at the appropriate
location in the interrupt entry table at next invocation. When the EP = 1 setting is used,
the PC value saved in the channel’s context is the address of the instruction immediately
following the EXIT instruction. The use of the EP = x setting with the EXIT instruction
allows the mixture of channels that use a Channel Restart strategy with others using a
Channel Resume strategy, and also allows individual channels to use either strategy as
appropriate on different invocations.
Note: A valid entry within a Channel Entry Table must be provided for every channel that
uses an EXIT instruction with the EP = 0 setting when Channel Resume Mode has
been selected. Failure to provide a valid entry for such channels will lead to invalid
PCP operation.
Содержание 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 ...