Fujitsu F202RA, MB89202 manual Interrupt of External Interrupt Circuit, 237

Models: F202RA MB89202

1 436
Download 436 pages 36.13 Kb
Page 253
Image 253

CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 (EDGE)

10.5Interrupt of External Interrupt Circuit 1

The detection of a signal with the specified edge or edges, input to any of the external interrupt pins, triggers external interrupt circuit 1 to generate an interrupt request.

Interrupt during the Operation of External Interrupt Circuit 1

When external interrupt circuit 1 detects the specified edge or edges of external interrupt input at a pin, an external interrupt request flag bit (EIC1, EIC2:EIR0 to EIR2) corresponding to the pin is set to "1". At this time, if the interrupt request enable bit corresponding to the pin contains the value indicating the enabled state (EIC1, EIC2:EIE0 to EIE2=1), the external interrupt circuit 1 generates and then issues the appropriate interrupt request (IRQ0, IRQ1, IRQ2) to the CPU.

Write "0" for the external interrupt request flag bit within the interrupt processing routine for the interrupt request, thus clearing the interrupt request.

If external interrupts are not used for recovery from stop mode, set the edge polarity selection bits to "00B" and the interrupt enable bits to "0".

Notes:

When edge detection OFF is selected and set with edge polarity selection bits, the occurring input is held as is before entry to the internal edge detecting circuit. If edge is selected during the edge detection OFF state, edge detection may be performed unconditionally with the external interrupt request flag bit set to "1".

When interrupts are set enabled (EIC1, EIC2:EIE0 to EIE2=1) after the release from the reset state, clear the appropriate external interrupt request flag bit (EIR0 to EIR2=0) at the same time.

If the external interrupt request flag bit is "1" with the interrupt request enable bit containing a value indicating enable state, a return from the interrupt processing is not possible. Always clear the external interrupt request flag bit within the interrupt processing routine.

For edge selection during the edge detection OFF state, specify an edge or edges when interrupt request outputs are disabled and then clear the external interrupt request flag bit.

Regardless of the value of the appropriate interrupt request enable bit (EIE0 to EIE2), the external interrupt request flag bit is set to "1" whenever edge polarity matching is detected.

Only external interrupt circuits 1 and 2 can execute a release from stop mode by an interrupt.

With the external interrupt request flag bit being set to "1", when the interrupt request enable bit setting changes from disable to enable (0 1), an interrupt request is generated immediately.

237

Page 253
Image 253
Fujitsu F202RA, MB89202 manual Interrupt of External Interrupt Circuit, 237

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.