r5f21346mnfp Renesas Electronics Corporation., r5f21346mnfp Datasheet - Page 184

no-image

r5f21346mnfp

Manufacturer Part Number
r5f21346mnfp
Description
Single-chip Mcus Incorporates The R8c Cpu Core
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21346mnfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/34M Group
R01UH0131EJ0100 Rev.1.00
Jun 21, 2011
Table 11.3
11.3
Bits ILVL2 to ILVL0
000b
001b
010b
011b
100b
101b
110b
111b
11.3.1
11.3.2
11.3.3
The following describes enabling and disabling maskable interrupts and setting the acknowledgement priority. This
description does not apply to non-maskable interrupts.
Use the I flag in the FLG register, IPL, and bits ILVL2 to ILVL0 in the corresponding interrupt control register to
enable or disable a maskable interrupt. Whether an interrupt is requested or not is indicated by the IR bit in the
corresponding interrupt control register.
The I flag enables or disables maskable interrupts. Setting the I flag to 1 (enabled) enables maskable interrupts.
Setting the I flag to 0 (disabled) disables all maskable interrupts.
The IR bit is set to 1 (interrupt requested) when an interrupt request is generated. After the interrupt request is
acknowledged and the CPU branches to the corresponding interrupt vector, the IR bit is set to 0 (no interrupt
requested).
The IR bit can be set to 0 by a program. Do not write 1 to this bit.
However, the IR bit operations of the timer RC interrupt, the timer RD interrupt, the synchronous serial
communication unit interrupt the I
to 11.7 Timer RC Interrupt, Timer RD Interrupt, Synchronous Serial Communication Unit Interrupt,
I
Sources).
Interrupt priority levels can be set using bits ILVL2 to ILVL0.
Table 11.3 lists the Settings of Interrupt Priority Levels and Table 11.4 lists the Interrupt Priority Levels
Enabled by IPL.
The following are the conditions when an interrupt is acknowledged:
The I flag, IR bit, bits ILVL2 to ILVL0, and IPL are independent of each other. They do not affect one another.
2
I flag = 1
IR bit = 1
Interrupt priority level > IPL
C bus Interface Interrupt, and Flash Memory Interrupt (Interrupts with Multiple Interrupt Request
Interrupt Control
I Flag
IR Bit
Bits ILVL2 to ILVL0, IPL
Settings of Interrupt Priority
Levels
Level 0 (interrupt disabled)
Level 1
Level 2
Level 3
Level 4
Level 5
Level 6
Level 7
Interrupt Priority Level
2
C bus interface interrupt, and the flash memory interrupt are different. Refer
Priority
High
Low
Table 11.4
000b
001b
010b
011b
100b
101b
110b
111b
IPL
IPL
Interrupt Priority Levels Enabled by
Interrupt level 1 and above
Interrupt level 2 and above
Interrupt level 3 and above
Interrupt level 4 and above
Interrupt level 5 and above
Interrupt level 6 and above
Interrupt level 7 and above
All maskable interrupts are disabled
Enabled Interrupt Priority Level
Page 152 of 740
11. Interrupts

Related parts for r5f21346mnfp