数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AT89LP428 数据表(PDF) 29 Page - ATMEL Corporation

部件名 AT89LP428
功能描述  8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash
PDF  149 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  ATMEL [ATMEL Corporation]
网页  http://www.atmel.com
标志 ATMEL - ATMEL Corporation

AT89LP428 数据表(HTML) 29 Page - ATMEL Corporation

Back Button AT89LP428 Datasheet HTML 25Page - ATMEL Corporation AT89LP428 Datasheet HTML 26Page - ATMEL Corporation AT89LP428 Datasheet HTML 27Page - ATMEL Corporation AT89LP428 Datasheet HTML 28Page - ATMEL Corporation AT89LP428 Datasheet HTML 29Page - ATMEL Corporation AT89LP428 Datasheet HTML 30Page - ATMEL Corporation AT89LP428 Datasheet HTML 31Page - ATMEL Corporation AT89LP428 Datasheet HTML 32Page - ATMEL Corporation AT89LP428 Datasheet HTML 33Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 149 page
background image
29
3654A–MICRO–8/09
AT89LP428/828
9.
Interrupts
The AT89LP428/828 provides 10 interrupt sources: two external interrupts, three timer inter-
rupts, a serial port interrupt, an analog comparator interrupt, a GPI, a compare/capture interrupt
and an SPI interrupt. These interrupts and the system reset each have a separate program vec-
tor 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 IE and IE2. The IE register
also contains a global disable bit, EA, which disables all interrupts.
Each interrupt source can be individually programmed to one of four priority levels by setting or
clearing bits in the interrupt priority registers IP, IPH, IP2 and IP2H. An interrupt service routine
in progress can be interrupted by a higher priority interrupt, 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. Note that the polling sequence is
only used to resolve pending requests of the same priority level.
The IPxD bits located at the seventh bit of IP, IPH, IP2 and IP2H can be used to disable all inter-
rupts of a given priority level, allowing software implementations of more complex interrupt
priority handling schemes.
The External Interrupts INT0 and INT1 can each be either level-activated or edge-activated,
depending on bits IT0 and IT1 in Register TCON. The flags that actually generate these inter-
rupts are the IE0 and IE1 bits in TCON. When the service routine is vectored to, hardware clears
the flag that generated an external interrupt only if the interrupt was edge-activated. If the inter-
rupt was level activated, then the external requesting source (rather than the on-chip hardware)
controls the request flag.
Table 8-1.
PCON
– Power Control Register
PCON = 87H
Reset Value = 000X 0000B
Not Bit Addressable
SMOD1
SMOD0
PWDEX
POF
GF1
GF0
PD
IDL
Bit
7
6
543
21
0
Symbol
Function
SMOD1
Double Baud Rate Bit. Doubles the baud rate of the UART in Modes 1, 2, or 3.
SMOD0
Frame Error Select. When SMOD0 = 1, SCON.7 is SM0. When SMOD0 = 1, SCON.7 is FE. Note that FE will be set after
a frame error regardless of the state of SMOD0.
PWDEX
Power-down Exit Mode. When PWDEX = 1, wake up from Power-down is externally controlled. When PWDEX = 1, wake
up from Power-down is internally timed.
POF
Power Off Flag. POF is set to “1” during power up (i.e. cold reset). It can be set or reset under software control and is not
affected by RST or BOD (i.e. warm resets).
GF1, GF0
General-purpose Flags.
PD
Power-down Bit. Setting this bit activates power-down operation.
IDL
Idle Mode Bit. Setting this bit activates Idle mode operation



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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