Cpu Priority Control Register (Cpupcr) - Renesas H8SX/1650 Hardware Manual

Renesas 32-bit cisc microcomputer h8sx family / h8sx/1600 series
Table of Contents

Advertisement

5.3.2

CPU Priority Control Register (CPUPCR)

CPUPCR sets whether or not the CPU has priority over the DTC. The interrupt exception handling
by the CPU can be given priority over that of the DTC transfer. The priority level of the DTC is
set by bits DTCP2 to DTCP0 in CPUPCR.
Bit
7
Bit Name
CPUPCE
Initial Value
0
R/W
R/W
Note: * When the IPSETE bit is set to 1, the CPU priority is automatically updated, so these bits cannot be modified.
Bit
Bit Name
7
CPUPCE
6
DTCP2
5
DTCP1
4
DTCP0
3
IPSETE
6
5
DTCP2
DTCP1
0
0
R/W
R/W
Initial
Value
R/W
Description
0
R/W
CPU Priority Control Enable
Controls the CPU priority control function. Setting this bit
to 1 enables the CPU priority control.
0: CPU always has the lowest priority
1: CPU priority control enabled
0
R/W
DTC Priority Level 2 to 0
0
R/W
These bits set the DTC priority level.
0
R/W
000: Priority level 0 (lowest)
001: Priority level 1
010: Priority level 2
011: Priority level 3
100: Priority level 4
101: Priority level 5
110: Priority level 6
111: Priority level 7 (highest)
0
R/W
Interrupt Priority Set Enable
Controls the function which automatically assigns the
interrupt priority level of the CPU. Setting this bit to 1
automatically sets bits CPUP2 to CPUP0 by the CPU
interrupt mask bit (I bit in CCR or bits I2 to I0 in EXR).
0: Bits CPUP2 to CPUP0 are not updated automatically
1: The interrupt mask bit value is reflected in bits CPUP2
4
3
DTCP0
IPSETE
0
0
R/W
R/W
to CPUP0
Rev.2.00 Jun. 28, 2007 Page 89 of 666
Section 5 Interrupt Controller
2
1
CPUP2
CPUP1
0
0
R/(W)*
R/(W)*
REJ09B0311-0200
0
CPUP0
0
R/(W)*

Advertisement

Table of Contents
loading

This manual is also suitable for:

R5s61650cH8sx/1650c

Table of Contents