CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 (LEVEL)

11.3Pins of External Interrupt Circuit 2

This section describes the pins associated with external interrupt circuit 2 and illustrates a block diagram of circuitry terminating at the pins with reference to the registers and interrupt triggering.

Pins Associated with External Interrupt Circuit 2

The pins associated with external interrupt circuit 2 are eight external interrupt pins.

P00/INT20/AN4 to P03/INT23/AN7

These external interrupt pins function as external interrupt input pins (hysteresis input) and as the pins of the general-purpose I/O port and analog inputs.

The P00/INT20/AN4 to P03/INT23/AN7 pins function as external interrupt input pins (INT20 to INT23) if set to function as an input port by the corresponding bits of the port 0 data direction register (DDR0), if set to be enabled for external interrupt inputs (ADEN=0) by the corresponding bits of the A/D enable register (ADEN), and if external interrupt inputs are enabled (EIE2:IE20 to IE27=1) by the external interrupt 2 control register (EIE2). When set to function as an input port by the DDR0 register, the state of these pins can be read from the port 0 data register (PDR0) at any time.

P04/INT24 to P07/INT27

These external interrupt pins function as external interrupt input pins (hysteresis input) and also serving as the pins of the general-purpose I/O port.

The P04/INT24 to P07/INT27 pins function as external interrupt input pins (INT24 to INT27) if set to function as an input port by the corresponding bits of the port 0 data direction register (DDR0) and if external interrupt inputs are enabled by the external interrupt 2 control register (EIE2). When set to function as an input port, the state of these pins can be read from the port 0 data register (PDR0) at any time.

Table 11.3-1lists the pins associated with external interrupt circuit 2.

Table 11.3-1 Pins Associated with External Interrupt Circuit 2

External

 

 

 

Use for external interrupt input

Use for general-purpose I/O port

interrupt pin

 

 

 

(Interrupt input enabled)

(Interrupt input disabled)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P00 (EIE2:IE20=0)

P00/INT20/AN4

INT20 (EIE2:IE20=1,DDR0:bit0=0,ADEN:ADE4=0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P01 (EIE2:IE21=0)

P01/INT21/AN5

INT21 (EIE2:IE21=1,DDR0:bit1=0,ADEN:ADE5=0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P02 (EIE2:IE22=0)

P02/INT22/AN6

INT22 (EIE2:IE22=1,DDR0:bit2=0,ADEN:ADE6=0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P03 (EIE2:IE23=0)

P03/INT23/AN7

INT23 (EIE2:IE23=1,DDR0:bit3=0,ADEN:ADE7=0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(EIE2:IE24=1,DDR0:bit4=0)

P04 (EIE2:IE24=0)

P04/INT24

 

 

INT24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(EIE2:IE25=1,DDR0:bit5=0)

P05 (EIE2:IE25=0)

P05/INT25

 

 

 

INT25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(EIE2:IE26=1,DDR0:bit6=0)

P06 (EIE2:IE26=0)

P06/INT26

 

 

 

INT26

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(EIE2:IE27=1,DDR0:bit7=0)

P07 (EIE2:IE27=0)

P07/INT27

 

 

 

INT27

 

 

 

 

 

 

 

 

 

 

 

246

Page 262
Image 262
Fujitsu MB89202, F202RA manual P00/INT20/AN4 to P03/INT23/AN7, P04/INT24 to P07/INT27, INT25, INT26

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.