R5F61525 RENESAS [Renesas Technology Corp], R5F61525 Datasheet - Page 158
![no-image](/images/no-image-200.jpg)
R5F61525
Manufacturer Part Number
R5F61525
Description
32-Bit CISC Microcomputer H8SX Family H8SX/1500 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
1.R5F61525.pdf
(846 pages)
- Current page: 158 of 846
- Download datasheet (6Mb)
Section 5 Interrupt Controller
5.7
CPU Priority Control Function Over DMAC
The interrupt controller has a function to control the priority among the DMAC and the CPU by
assigning priority levels to the DMAC and CPU. Since the priority level can automatically be
assigned to the CPU on an interrupt occurrence, it is possible to execute the CPU interrupt
exception handling prior to the DMAC transfer.
The priority level of the CPU is assigned by bits CPUP2 to CPUP0 in CPUPCR. The priority level
of the DMAC is assigned to each channel by bits DMAP2 to DMAP0 in the DMA mode control
registers 0 to 3 (DMDR_0 to DMDR_3).
The priority control function over the DMAC is enabled by setting the CPUPCE bit in CPUPCR
to 1. When the CPUPCE bit is 1, the DMAC activation source is controlled according to the
respective priority level.
The priority level of the DMAC can be specified for each channel. The DMAC activation source
is controlled according to the priority level of the CPU and the priority level of the DMAC
indicated by bits DMAP2 to DMAP0. If the CPU has priority, the DMAC activation source is
held. The DMAC is activated when the condition by which the activation source is held is
cancelled (CPUCPCE = 1 and value of bits CPUP2 to CPUP0 is greater than that of bits DMAP2
to DMAP0). When the different priority levels of the DMAC are assigned for the channels, the
channel having higher priority continues to transfer while the channel having lower priority than
the CPU is held.
There are two methods for assigning the priority level to the CPU by the IPSETE bit in CPUPCR.
Setting the IPSETE bit to 1 enables a function to automatically assign the value of the interrupt
mask bit of the CPU to the CPU priority level. Clearing the IPSETE bit to 0 disables the function
to automatically assign the priority level. Therefore, the priority level is assigned directly by
software rewriting bits CPUP2 to CPUP0. Even if the IPSETE bit is 1, the priority level of the
CPU is software assignable by rewriting the interrupt mask bit of the CPU (I bit in CCR or I2 to I0
bits in EXR).
The priority level which is automatically assigned when the IPSETE bit is 1 differs according to
the interrupt control mode.
In interrupt control mode 0, the I bit in CCR of the CPU is reflected in bit CPUP2. Bits CPUP1
and CPUP0 are fixed 0. In interrupt control mode 2, the values of bits I2 to I0 in EXR of the CPU
are reflected in bits CPUP2 to CPUP0.
Table 5.7 shows the CPU priority control.
Rev. 3.00 Mar. 14, 2006 Page 120 of 804
REJ09B0104-0300
Related parts for R5F61525
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![HD6417709S](/images/manufacturer_photos/0/5/561/renesas_electronics_corporation__tmb.jpg)
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
![HD6417706](/images/no-image3.png)
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![H8S2110B](/images/no-image3.png)
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer Renesas H8S Family/H8S/2100 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![16C6N4](/images/no-image3.png)
Part Number:
Description:
Renesas MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![32C](/images/no-image3.png)
Part Number:
Description:
RENESAS MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![32C87](/images/no-image3.png)
Part Number:
Description:
RENESAS MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![35C](/images/no-image3.png)
Part Number:
Description:
RENESAS MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6412240](/images/no-image3.png)
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family / H8S/2200 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6412320](/images/no-image3.png)
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family H8S-2300 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6412332](/images/no-image3.png)
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6412373R](/images/no-image3.png)
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6413008F](/images/no-image3.png)
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6417040AF28](/images/no-image3.png)
Part Number:
Description:
Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6417320](/images/no-image3.png)
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
![HD6417641](/images/no-image3.png)
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family / SH7641 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet: