поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AT89LP51RB2 датащи(PDF) 59 Page - ATMEL Corporation

номер детали AT89LP51RB2
подробное описание детали  8-bit Microcontroller Compatible with 8051 Products
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51RB2 датащи(HTML) 59 Page - ATMEL Corporation

Back Button AT89LP51RB2 Datasheet HTML 55Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 56Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 57Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 58Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 59Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 60Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 61Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 62Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 63Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 254 page
background image
59
3722A–MICRO–10/11
AT89LP51RB2/RC2/IC2 Preliminary
9.
Interrupts
The AT89LP51RB2/RC2/IC2 provides 11 interrupt vectors: two external interrupts (INT0 and
INT1), three timer interrupts (Timers 0, 1 and 2), a serial port interrupt, an SPI interrupt, a key-
board interrupt, a PCA interrupt, an analog comparator interrupt and an ADC interrupt. These
interrupts and the system reset each have a separate program vector at the start of the program
memory space.
Each interrupt source can be individually enabled or disabled by setting or clearing a bit in the
interrupt enable registers: IEN0 and IEN1. The IEN0 register also contains a global disable bit,
EA, which disables all interrupts. All of the bits that generate interrupts can be set or cleared by
software, with the same result as though they had been set or cleared by hardware. That is,
interrupts can be generated and pending interrupts can be canceled in software.
9.1
Interrupt Priority
Each interrupt source can be individually programmed to one of four priority levels by setting or
clearing bits in the interrupt priority registers: IPL0, IPL1, IPH0 and IPH1. IPL0 and IPL1 hold the
low order priority bits and IPH0 and IPH1 hold the high priority bits for each interrupt as shown in
Table 9-2. An interrupt service routine in progress can be interrupted by a higher priority inter-
rupt, but not by another interrupt of the same or lower priority. The highest priority interrupt
cannot be interrupted by any other interrupt source. If two requests of different priority levels are
pending at the end of an instruction, the request of higher priority level is serviced. If requests of
the same priority level are pending at the end of an instruction, an internal polling sequence
determines which request is serviced. The polling sequence is based on the vector address; an
interrupt with a lower vector address has higher priority than an interrupt with a higher vector
address, except in the case of the PCA, whose polling priority is moved up by two as shown in
Table 9-1 and Figure 9-1. Note that the polling sequence is only used to resolve pending
requests of the same priority level.
Table 9-1.
Interrupt Vector Addresses and Priority
Polling
Priority
Interrupt
Source
Vector
Address
0
System Reset
RST or POR or BOD
0000H
1
External Interrupt 0
IE0
0003H
2
Timer 0 Overflow
TF0
000BH
3
External Interrupt 1
IE1
0013H
4
Timer 1 Overflow
TF1
001BH
6
Serial Port Interrupt
RI or TI
0023H
7
Timer 2 Interrupt
TF2 or EXF2
002BH
5
PCA Interrupt
CF, CCF0, CCF1, CCF2, CCF3 or CCF4
0033H
8
Keyboard Interrupt
KBF7-0
003BH
9
Two-Wire Interrupt
SI
0043H
10
SPI Interrupt
SPIF or MODF or TXE
004BH
11
reserved
0053H
12
Analog Comparator Interrupt
CFA or CFB
005BH
13
ADC Interrupt
ADIF
0063H



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com