AT89C51CC03U-S3SIM ATMEL [ATMEL Corporation], AT89C51CC03U-S3SIM Datasheet - Page 161

no-image

AT89C51CC03U-S3SIM

Manufacturer Part Number
AT89C51CC03U-S3SIM
Description
Enhanced 8-bit MCU with CAN Controller and Flash Memory
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
4182I–CAN–06/05
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
000Bh
001Bh
002Bh
003Bh
004Bh
IPL.x
0003h
0013h
0033h
0023h
0043h
0053h
0
1
0
1
Interrupt Level Priority
Priority Number
3 (Highest)
0 (Lowest)
10
11
1
2
1
2
3
4
5
6
7
8
9
161

Related parts for AT89C51CC03U-S3SIM