![Infineon Technologies TC1784 Скачать руководство пользователя страница 688](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446688.webp)
TC1784
Peripheral Control Processor (PCP)
User´s Manual
10-23
V1.1, 2011-05
PCP, V2.09
10.4.2.4 Context Save Operation for CR6 and CR7
The operation of R6 and R7 context save varies according to whether the save operation
is the result of a channel exit condition, or whether the channel is being suspended in
favor of a higher-priority channel program.
Channel Resume Mode
illustrates the operation of a context save for a channel exit when Channel
Resume Mode has been selected. The value written to CR7 is created by concatenating
the 16-bit PC value with the lower 16 bits of R7. CR6 is written with the value taken from
R6.
Figure 22
Context Save: Channel Exit in Channel Resume Mode
PC
MCA06141
When the context save is due to execution of an EXIT instruction with EP = 0 the
PC is loaded with the appropriate channel entry table address prior to being saved.
Note:
31
16
0
CNT1
CPPN
SRPN TOS
31
16
0
CNT1
CPPN
SRPN TOS
PCP
Register R6
Stored Content
CR6 in PRAM
31
16
0
CPC
CFLAGS
Stored Content
CR7 in PRAM
CDPTR
31
16
0
0
FLAGS
CDPTR
PCP
Register R7
16
0
PCP Program
Counter
Содержание 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 ...