AT89C51CC03CA-7CTUM ATMEL [ATMEL Corporation], AT89C51CC03CA-7CTUM Datasheet - Page 162

no-image

AT89C51CC03CA-7CTUM

Manufacturer Part Number
AT89C51CC03CA-7CTUM
Description
Enhanced 8-bit MCU with CAN Controller and Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
162
AT89C51CC03
Each of the interrupt sources can be individually enabled or disabled by setting or clear-
ing a bit in the Interrupt Enable register. This register also contains a global disable bit
which must be cleared to disable all the interrupts at the same time.
Each interrupt source can also be individually programmed to one of four priority levels
by setting or clearing a bit in the Interrupt Priority registers. The Table below shows the
bit values and priority levels associated with each combination.
Table 108. Priority Level Bit Values
A low-priority interrupt can be interrupted by a high priority interrupt but not by another
low-priority interrupt. A high-priority interrupt cannot be interrupted by any other interrupt
source.
If two interrupt requests of different priority levels are received simultaneously, the
request of the higher priority level is serviced. If interrupt requests of the same priority
level are received simultaneously, an internal polling sequence determines which
request is serviced. Thus within each priority level there is a second priority structure
determined by the polling sequence, see Table 109.
Table 109. Interrupt priority Within level
CAN (Txok, Rxok, Err or OvrBuf)
CAN Timer Overflow (OVRTIM)
external interrupt (INT0)
external interrupt (INT1)
PCA (CF or CCFn)
Interrupt Name
UART (RI or TI)
Timer0 (TF0)
Timer1 (TF1)
Timer2 (TF2)
SPI interrupt
ADC (ADCI)
IPH.x
0
0
1
1
Interrupt Address Vector
IPL.x
0003h
000Bh
0013h
001Bh
0033h
0023h
002Bh
003Bh
0043h
004Bh
0053h
0
1
0
1
Interrupt Level Priority
Priority Number
4182K–CAN–05/06
3 (Highest)
0 (Lowest)
10
11
1
2
1
2
3
4
5
6
7
8
9

Related parts for AT89C51CC03CA-7CTUM