36
CHAPTER 3 CPU
3.4.1
Interrupt Level Setting Registers (ILR1 to ILR4)
For the interrupt level setting registers (ILR1, 2, 3, and 4), 16 two-bit data items
corresponding to interrupt requests sent from peripheral functions are assigned.
Interrupt levels can be specified in these 2-bits (interrupt level setting bits).
■
Configuration of the Interrupt Level Setting Registers (ILR1 to ILR4)
Figure 3.4-1 Configuration of Interrupt Level Setting Register
For each interrupt request, 2 bits of the interrupt level setting registers are assigned. The values specified in
the interrupt level setting registers are the intensities for processing the interrupts (interrupt levels 1 to 3).
Interrupt level setting bits are compared with interrupt level bits in the condition code register (CCR: IL1
and IL0).
When interrupt level 3 is specified, the CPU does not accept interrupt requests.
Table 3.4-2 provides the relationship between interrupt level setting bits and interrupt levels.
Notes:
•
When the main program is being executed, the interrupt level bits in the condition code register
(CCR: IL1 and IL0) are normally set to 11
B
.
•
The ILR1 to ILR4 registers are write-only enabled, and thus the bit manipulation instructions (SETB
and CLRB) cannot be used.
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
ILR1
007B
H
L31
L30
L21
L20
L11
L10
L01
L00
1111 1111
B
(W)
(W)
(W)
(W)
(W)
(W)
(W)
(W)
ILR2
007C
H
L71
L70
L61
L60
L51
L50
L41
L40
1111 1111
B
(W)
(W)
(W)
(W)
(W)
(W)
(W)
(W)
ILR3
007D
H
LB1
LB0
LA1
LA0
L91
L90
L81
L80
1111 1111
B
(W)
(W)
(W)
(W)
(W)
(W)
(W)
(W)
ILR4
007E
H
LF1
LF0
LE1
LE0
LD1
LD0
LC1
LC0
1111 1111
B
(W)
(W)
(W)
(W)
(W)
(W)
(W)
(W)
W: Write only
Register Address
(Initial value)
Table 3.4-2 Relationship between Interrupt Level Setting Bits and Interrupt Levels
L01 to LF1
L00 to LF0
Requested interrupt level
Priority
0
0
1
High
Low (no interrupt)
0
1
1
0
2
1
1
3
Summary of Contents for F2MC-8L F202RA
Page 2: ......
Page 4: ......
Page 32: ...16 CHAPTER 1 OVERVIEW ...
Page 90: ...74 CHAPTER 3 CPU ...
Page 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Page 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Page 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Page 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Page 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Page 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Page 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Page 390: ...374 CHAPTER 17 FLASH MEMORY ...
Page 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 434: ...418 INDEX ...
Page 436: ......