Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

AT89C5132-ROTIL Folha de dados(PDF) 34 Page - ATMEL Corporation

Nome de Peças AT89C5132-ROTIL
Descrição Electrónicos  USB Microcontroller with 64K Bytes Flash Memory
PDF  181 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  ATMEL [ATMEL Corporation]
Página de início  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89C5132-ROTIL Folha de dados(HTML) 34 Page - ATMEL Corporation

Back Button AT89C5132-ROTIL Datasheet HTML 30Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 31Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 32Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 33Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 34Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 35Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 36Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 37Page - ATMEL Corporation AT89C5132-ROTIL Datasheet HTML 38Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 181 page
background image
34
4173D–USB–02/06
AT89C5132
10. Interrupt System
The AT89C5132, like other control-oriented computer architectures, employ a program interrupt
method. This operation branches to a subroutine and performs some service in response to the
interrupt. When the subroutine terminates, execution resumes at the point where the interrupt
occurred. Interrupts may occur as a result of internal AT89C5132 activity (e.g., timer overflow) or
at the initiation of electrical signals external to the microcontroller (e.g., keyboard). In all cases,
interrupt operation is programmed by the system designer, who determines priority of interrupt
service relative to normal code execution and other interrupt service routines. All of the interrupt
sources are enabled or disabled by the system designer and may be manipulated dynamically.
A typical interrupt event chain occurs as follows:
1.
An internal or external device initiates an interrupt-request signal. The AT89C5132, latch
this event into a flag buffer.
2.
The priority of the flag is compared to the priority of other interrupts by the interrupt han-
dler. A high priority causes the handler to set an interrupt flag.
3.
This signals the instruction execution unit to execute a context switch. This context
switch breaks the current flow of instruction sequences. The execution unit completes
the current instruction prior to a save of the program counter (PC) and reloads the PC
with the start address of a software service routine.
4.
The software service routine executes assigned tasks and as a final activity performs a
RETI (return from interrupt) instruction. This instruction signals completion of the inter-
rupt, resets the interrupt-in-progress priority and reloads the program counter. Program
operation then continues from the original point of interruption.
Table 32. Interrupt System Signals
Six interrupt registers are used to control the interrupt system. Two 8-bit registers are used to
enable separately the interrupt sources: IEN0 and IEN1 registers (see Table 35 and Table 36).
Four 8-bit registers are used to establish the priority level of the sources: IPH0, IPL0, IPH1 and
IPL1 registers (see Table 10-1 to Table 39).
10.1
Interrupt System Priorities
Each of the interrupt sources on the AT89C5132 can be individually programmed to one of four
priority levels. This is accomplished by one bit in the Interrupt Priority High registers (IPH0 and
IPH1) and one bit in the Interrupt Priority Low registers (IPL0 and IPL1). This provides each
interrupt source four possible priority levels according to Table 33.
Signal
Name
Type
Description
Alternate
Function
INT0
I
External Interrupt 0
See Section "External Interrupts", page 37.
P3.2
INT1
I
External Interrupt 1
See Section “External Interrupts”, page 37.
P3.3
KIN3:0
I
Keyboard Interrupt Inputs
See Section “Keyboard Interface”, page 152.
P1.3:0



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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