TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-8
V2.0, 2007-07
PCP, V2.0
11.3.1.4 Register R6
Register R6 may also be used as a general-use register. Again however, there are some
instructions that use fields within R6. If the COPY or EXIT instructions are used, then the
field R6.CNT1 can optionally be used implicitly as a counter. If an EXIT instruction is
used that causes an interrupt, R6.SRPN and R6.TOS must be configured properly prior
to execution of the EXIT. If interrupt priority management is used, then R6.CPPN must
be set to the priority level at which the channel shall run at its next invocation, before the
EXIT is executed. The fields for R6 are shown below.
PCP Register R6
Reset Value: 0000 0000
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
CPPN
SRPN
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TOS
–
–
CNT1
rw
rw
rw
rw
Field
Bits
Type Description
CNT1
[11:0]
rw
General-use/Outer Loop count for COPY
Instruction or EXIT Instruction
TOS
[15:14] rw
General-use/Type-of-Service for EXIT Interrupt
Upper bit of TOS is always forced to 0 when
transferred into the PCP SRNs, regardless of the
value specified in R6[15].
SRPN
[23:16] rw
General-use/Service Request Priority Number for
EXIT Interrupt
CPPN
[31:24] rw
General-use/PCP Priority Number Posted to PICU
–
13, 12
rw
General-use