ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 86

no-image

ADE5166_08

Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
ADE5166/ADE5169
Table 81. Interrupt Priority SFR (IP, Address 0xB8)
Bit
7
6
5
4
3
2
1
0
Table 82. Interrupt Enable and Priority 2 SFR (IEIP2, Address 0xA9)
Bit
7
6
5
4
3
2
1
0
INTERRUPT PRIORITY
If two interrupts of the same priority level occur simultaneously, the polling sequence is observed (as shown in Table 83).
Table 83. Priority Within Interrupt Level
Source
IPSM
IRTC
IADE
WDT
ITEMP
IE0
TF0
IE1
TF1
ISPI/I2CI
RI/TI
TF2/EXF2
RI2/TI2
Bit Address
0xBF
0xBE
0xBD
0xBC
0xBB
0xBA
0xB9
0xB8
Mnemonic
PS2
PTI
ES2
PSI
EADE
ETI
EPSM
ESI
Priority
0 (highest)
1
2
3
4
5
6
7
8
9
10
11
12 (lowest)
Mnemonic
PADE
PTEMP
PT2
PS
PT1
PX1
PT0
PX0
Description
UART2 serial port interrupt priority (1 = high, 0 = low).
RTC interrupt priority (1 = high, 0 = low).
Enables the UART2 serial port interrupt. Set by the user.
SPI/I
Enables the energy metering interrupt (ADE). Set by the user.
Enables the RTC interval timer interrupt. Set by the user.
Enables the PSM power supply management interrupt. Set by the user.
Enables the SPI/I
2
C interrupt priority (1 = high, 0 = low).
2
C interrupt. Set by the user.
Description
Power supply management interrupt.
RTC interval timer interrupt.
ADE energy measurement interrupt.
Watchdog timer overflow interrupt.
Temperature ADC interrupt.
External Interrupt 0.
Timer/Counter 0 interrupt.
External Interrupt 1.
Timer/Counter 1 interrupt.
SPI/I
UART serial port interrupt.
Timer/Counter 2 interrupt.
UART2 serial port interrupt.
Description
ADE energy measurement interrupt priority (1 = high, 0 = low).
Temperature ADC interrupt priority (1 = high, 0 = low).
Timer 2 interrupt priority (1 = high, 0 = low).
UART serial port interrupt priority (1 = high, 0 = low).
Timer 1 interrupt priority (1 = high, 0 = low).
INT1 (External Interrupt 1) priority (1 = high, 0 = low).
Timer 0 interrupt priority (1 = high, 0 = low).
INT0 (External Interrupt 0) priority (1 = high, 0 = low).
2
C interrupt.
Rev. 0 | Page 86 of 148

Related parts for ADE5166_08