beautypg.com

interrupt system, introduction, Preliminary – Rainbow Electronics T89C51CC02 User Manual

Page 121: Interrupt system, Introduction

background image

Rev.A - May 17, 2001

121

Preliminary

T89C51CC02

18. Interrupt System

18.1. Introduction

The CAN Controller has a total of 10 interrupt vectors: two external interrupts (INT0 and INT1), three timer
interrupts (timers 0, 1 and 2), a serial port interrupt, a PCA, a CAN interrupt, a timer overrun interrupt and an
ADC. These interrupts are shown below.

Figure 126. Interrupt Control System

ECAN

IEN1.0

EX0

IEN0.0

00

01

10

11

External

Interrupt 0

INT0#

EA

IE0.7

EX1

IEN0.2

External

Interrupt 1

INT1#

ET0

IEN0.1

Timer 0

EC

IEN0.6

PCA

ET1

IEN0.3

Timer 1

ES

IEN0.4

UART

EADC

IEN1.1

A to D

Converter

ETIM

IEN1.2

CAN Timer

CAN

Interrupt Enable

Lowest Priority Interrupts

Highest

Priority Enable

00

01

10

11

00

01

10

11

00

01

10

11

00

01

10

11

00

01

10

11

00

01

10

11

00

01

10

11

00

01

10

11

Priority

Interrupts

TxDC

RxDC

AIN1:0

IPH/L

controller

Timer 2

00

01

10

11

ET2

IEN0.5

TxD

RxD

CEX0:5