TC1796
System Units (Vol. 1 of 2)
Interrupt System
User’s Manual
14-8
V2.0, 2007-07
Interrupt, V2.0
14.3
Interrupt Control Units
The Interrupt Control Units manage the interrupt system, arbitrate incoming service
requests, and determine whether and when to interrupt the service provider. The
TC1796 contains two interrupt control units, one for the CPU (called ICU), and one for
the PCP (called PICU). Each one controls its associated interrupt arbitration bus and
manages the communication with its service provider (see
14.3.1
Interrupt Control Unit (ICU)
This section describes the interrupt control unit (ICU) for the CPU.
14.3.1.1 ICU Interrupt Control Register (ICR)
The ICU Interrupt Control Register ICR holds the current CPU priority number (CCPN),
the global interrupt enable/disable bit (IE), the pending interrupt priority number (PIPN),
and bit fields which control the interrupt arbitration process.
ICR
ICU Interrupt Control Register
(F7E1FE2C
H
)
Reset Value: 0000 0000
H
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
C
ONE
CYC
CARBCYC
PIPN
r
rw
rw
rh
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
IE
CCPN
r
rwh
rwh
Field
Bits
Type Description
CCPN
[7:0]
rwh
Current CPU Priority Number
The Current CPU Priority Number (CCPN) bit field
indicates the current priority level of the CPU. It is
automatically updated by hardware on entry and exit of
interrupt service routines, and through the execution of
a BISR instruction. CCPN can also be updated through
an MTCR instruction.