Intel 8XC251SB, 8XC251SA, 8XC251SP Timer Interrupts, Interrupt Control Matrix, Pca, INT1#, INT0#

Models: Embedded Microcontroller 8XC251SP 8XC251SA 8XC251SQ 8XC251SB

1 458
Download 458 pages 25.38 Kb
Page 108
Image 108

8XC251SA, SB, SP, SQ USER’S MANUAL

Table 6-3. Interrupt Control Matrix

Interrupt Name

Global

PCA

Timer

Serial

Timer

INT1#

Timer

INT0#

Enable

2

Port

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Name in IE0

EA

EC

ET2

ES

ET1

EX1

ET0

EX0

Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Priority-

 

 

 

 

 

 

 

 

Within-Level

NA

7

6

5

4

3

2

1

(7 = Low Priority,

 

 

 

 

 

 

 

 

1 = High Priority)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Names in:

 

 

 

 

 

 

 

 

IPH0

Reserved

IPH0.6

IPH0.5

IPH0.4

IPH0.3

IPH0.2

IPH0.1

IPH0.0

IPL0

Reserved

IPL0.6

IPL0.5

IPL0.4

IPL0.3

IPL0.2

IPL0.1

IPL0.0

 

 

 

 

 

 

 

 

 

Programmable for

 

 

 

 

 

 

 

 

Negative-edge

NA

Edge

No

No

No

Yes

No

Yes

Triggered or Level-

 

 

 

 

 

 

 

 

triggered Detect?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Request

 

 

 

 

 

 

 

 

Flag in CCON,

NA

CF,

TF2,

RI, TI

TF1

IE1

TF0

IE0

T2CON, SCON, or

CCFx

EXF2

 

 

 

 

 

 

TCON Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt Request

 

 

 

 

 

Edge

 

Edge

Flag Cleared by

No

No

No

No

Yes

Yes,

Yes

Yes,

Hardware?

 

 

 

 

 

Level No

 

Level No

 

 

 

 

 

 

 

 

 

ISR Vector Address

NA

FF:

FF:

FF:

FF:

FF:

FF:

FF:

 

0033H

002BH

0023H

001BH

0013H

000BH

0003H

 

 

 

 

 

 

 

 

 

 

 

6.2.2Timer Interrupts

Two timer-interrupt request bits TF0 and TF1 (see TCON register, Figure 8-6 on page 8-8) are set by timer overflow (the exception is Timer 0 in Mode 3, see Figure 8-4 on page 8-6). When a timer interrupt is generated, the bit is cleared by an on-chip hardware vector to an interrupt service rou- tine. Timer interrupts are enabled by bits ET0, ET1, and ET2 in the IE0 register (see Figure 6-2, "Interrupt Enable Register”).

Timer 2 interrupts are generated by a logical OR of bits TF2 and EXF2 in register T2CON (see Figure 8-12 on page 8-17). Neither flag is cleared by a hardware vector to a service routine. In fact, the interrupt service routine must determine if TF2 or EXF2 generated the interrupt, and then clear the bit. Timer 2 interrupt is enabled by ET2 in register IE0.

6-4

Page 108
Image 108
Intel 8XC251SB, 8XC251SA, 8XC251SP, 8XC251SQ manual Timer Interrupts, Interrupt Control Matrix, Pca, INT1#, INT0#

Embedded Microcontroller, 8XC251SP, 8XC251SA, 8XC251SQ, 8XC251SB specifications

The Intel 8XC251 series of embedded microcontrollers is a family of versatile and powerful devices, designed to meet the demands of a wide range of applications. With models such as the 8XC251SB, 8XC251SQ, 8XC251SA, and 8XC251SP, this series offers unique features while maintaining a high level of performance and reliability.

At the heart of the 8XC251 microcontrollers is the 8051 architecture, which provides a 16-bit processor capable of executing complex instructions efficiently. This architecture not only allows for a rich instruction set but also facilitates programming in assembly language and higher-level languages like C, which are essential for developing sophisticated embedded systems.

One of the significant features of the 8XC251 family is its integrated peripherals, including timer/counters, serial communication interfaces, and interrupt systems. These peripherals enable developers to implement timing functions, data communication, and real-time processing, all of which are crucial in modern embedded applications. The 8XC251SB and 8XC251SQ models, for instance, come equipped with multiple I/O ports that allow for interfacing with other devices and systems, enhancing their functionality in various environments.

The memory architecture of the 8XC251 devices is noteworthy, featuring on-chip ROM, RAM, and EEPROM. The on-chip memory allows for fast access times, which is essential for executing programs efficiently. Moreover, the EEPROM serves as non-volatile memory, enabling the storage of configuration settings and important data that must be retained even when power is lost.

In terms of operating voltage, the 8XC251 devices are designed to operate in a wide range, typically between 4.0V and 6.0V. This flexibility makes them suitable for battery-powered applications, where energy efficiency is critical. The power management features, including reduced power modes, further enhance their suitability for portable devices.

Lastly, the 8XC251 series is supported by a wide range of development tools and resources, allowing engineers and developers to streamline the development process. This support, combined with the microcontrollers' robust features, makes the Intel 8XC251 family a reliable choice for various embedded applications, such as industrial automation, automotive systems, and consumer electronics.

Overall, the Intel 8XC251SB, 8XC251SQ, 8XC251SA, and 8XC251SP deliver high performance, versatility, and ease of use, making them a preferred choice for embedded system designers looking to develop efficient and effective solutions.