Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

ADE7156 Datasheet(PDF) 97 Page - Analog Devices

No. de pieza ADE7156
Descripción Electrónicos  Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  AD [Analog Devices]
Página de inicio  http://www.analog.com
Logo AD - Analog Devices

ADE7156 Datasheet(HTML) 97 Page - Analog Devices

Back Button ADE7156_15 Datasheet HTML 93Page - Analog Devices ADE7156_15 Datasheet HTML 94Page - Analog Devices ADE7156_15 Datasheet HTML 95Page - Analog Devices ADE7156_15 Datasheet HTML 96Page - Analog Devices ADE7156_15 Datasheet HTML 97Page - Analog Devices ADE7156_15 Datasheet HTML 98Page - Analog Devices ADE7156_15 Datasheet HTML 99Page - Analog Devices ADE7156_15 Datasheet HTML 100Page - Analog Devices ADE7156_15 Datasheet HTML 101Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 97 / 152 page
background image
ADE7116/ADE7156/ADE7166/ADE7169/ADE7566/ADE7569
Rev. B | Page 97 of
152
INTERRUPT VECTORS
When an interrupt occurs, the program counter is pushed
onto the stack, and the corresponding interrupt vector address
is loaded into the program counter. When the interrupt service
routine is complete, the program counter is popped off the stack
by an RETI instruction. This allows program execution to resume
from where it was interrupted. The interrupt vector addresses
are shown in Table 84.
Table 84. Interrupt Vector Addresses
Source
Vector Address
IE0
0x0003
TF0
0x000B
IE1
0x0013
TF1
0x001B
RI + TI
0x0023
TF2 + EXF2
0x002B
ITEMP (Temperature ADC)1
0x0033
ISPI/I2CI
0x003B
IPSM (Power Supply)
0x0043
IADE (Energy Measurement DSP)
0x004B
IRTC (RTC Interval Timer)
0x0053
WDT (Watchdog Timer)
0x005B
1 This feature is not available in the ADE7116.
INTERRUPT LATENCY
The 8052 architecture requires that at least one instruction
execute between interrupts. To ensure this, the 8052 MCU
core hardware prevents the program counter from jumping to
an ISR immediately after completing an RETI instruction or an
access of the IP and IE SFRs.
The shortest interrupt latency is 3.25 instruction cycles, 800 ns
with a clock of 4.096 MHz. The longest interrupt latency for a
high priority interrupt results when a pending interrupt is
generated during a low priority interrupt RETI, followed by a
multiply instruction. This results in a maximum interrupt
latency of 16.25 instruction cycles, 4 μs with a clock of 4.096 MHz.
CONTEXT SAVING
When the 8052 vectors to an interrupt, only the program counter
is saved on the stack. Therefore, the interrupt service routine
must be written to ensure that registers used in the main
program are restored to their pre-interrupt state. Common
SFRs that can be modified in the ISR are the accumulator
register and the PSW register. Any general-purpose registers
that are used as scratch pads in the ISR should also be restored
before exiting the interrupt. The following example 8052 code
shows how to restore some commonly used registers:
GeneralISR:
; save the current Accumulator value
PUSH
ACC
; save the current status and register bank
selection
PUSH
PSW
; service interrupt
; restore the status and register bank
selection
POP
PSW
; restore the accumulator
POP
ACC
RETI



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


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   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