CHAPTER 3 CPU

3.4.1Interrupt 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

Register

Address

bit7

bit6

bit5

bit4

bit3

bit2

bit1

bit0

(Initial value)

 

 

 

 

 

 

 

 

 

 

 

ILR1

007BH

L31

L30

L21

L20

L11

L10

L01

L00

1111 1111B

 

 

 

 

 

 

 

 

 

 

 

 

 

(W)

(W)

(W)

(W)

(W)

(W)

(W)

(W)

 

ILR2

007CH

 

 

 

 

 

 

 

 

 

L71

L70

L61

L60

L51

L50

L41

L40

1111 1111B

 

 

 

 

 

 

 

 

 

 

 

 

 

(W)

(W)

(W)

(W)

(W)

(W)

(W)

(W)

 

ILR3

007DH

 

 

 

 

 

 

 

 

 

LB1

LB0

LA1

LA0

L91

L90

L81

L80

1111 1111B

 

 

 

 

 

 

 

 

 

 

 

 

 

(W)

(W)

(W)

(W)

(W)

(W)

(W)

(W)

 

 

 

 

 

 

 

 

 

 

 

 

ILR4

007EH

LF1

LF0

LE1

LE0

LD1

LD0

LC1

LC0

1111 1111B

 

 

 

 

 

 

 

 

 

 

 

 

 

(W)

(W)

(W)

(W)

(W)

(W)

(W)

(W)

 

W: Write only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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-2provides the relationship between interrupt level setting bits and interrupt levels.

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

 

 

 

 

0

1

 

 

 

 

 

 

 

 

 

 

1

0

2

 

 

Low (no interrupt)

 

 

 

1

1

3

 

 

 

 

 

 

 

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 11B.

The ILR1 to ILR4 registers are write-only enabled, and thus the bit manipulation instructions (SETB and CLRB) cannot be used.

36

Page 52
Image 52
Fujitsu MB89202 Interrupt Level Setting Registers ILR1 to ILR4, L01 to LF1 L00 to LF0 Requested interrupt level Priority

F202RA, MB89202 specifications

The Fujitsu MB89202 and F202RA microcontrollers are part of the 16-bit microcontroller family, renowned for their robust performance and versatility in a variety of embedded system applications. These devices are tailored for high-efficiency operation across diverse industries, including automotive, consumer electronics, and industrial automation.

One of the main features of the MB89202 is its powerful CPU core, which operates at a clock speed of up to 20 MHz. This enables the microcontroller to perform complex calculations and consumer-grade applications seamlessly. The architecture is designed to handle multiple tasks effectively, making it suitable for real-time operations.

Memory capacity is a vital characteristic of the MB89202, featuring on-chip RAM and ROM configurations. The microcontroller can accommodate different memory variants, providing developers with flexibility in memory allocation based on their application requirements. This adaptability facilitates applications ranging from simple control systems to complex data processing tasks.

The F202RA variant extends the capabilities of the MB89202 by integrating advanced peripheral functions. It includes built-in timers, A/D converters, and serial communication interfaces, which are essential for interfacing with other hardware components or sensors. The availability of these peripherals reduces the need for additional external circuits, thus contributing to a more compact and cost-effective design.

In terms of power management, the MB89202 series employs advanced power-saving technologies. The microcontroller offers various low-power modes, enabling devices to conserve energy during idle times, making it highly suitable for battery-operated applications. This characteristic not only enhances the efficiency of devices but also extends their operational lifespan.

Moreover, the Fujitsu MB89202 series incorporates robust protection features, including watchdog timers and failure detection mechanisms. These safety features ensure reliable operation in critical systems, making them a preferred choice in applications where failure is not an option.

The MB89202 and F202RA microcontrollers also support a range of development tools and environments, including integrated development environments (IDEs) and software libraries, which facilitate rapid application development. With these tools, developers can efficiently prototype, debug, and optimize their applications.

In summary, the Fujitsu MB89202 and F202RA microcontrollers stand out with their efficient performance, extensive memory options, integrated peripherals, and power-saving capabilities, making them ideal for a wide array of embedded applications. Their reliability and robustness further enhance their attractiveness for designers seeking advanced microcontroller solutions.