ADuC812
INTERRUPT SYSTEM
The ADuC812 provides a total of nine interrupt sources with
two priority levels. The control and configuration of the interrupt
system is carried out through three Interrupt-related SFRs.
IE:
Interrupt Enable Register.
IP:
Interrupt Priority Register.
IE2:
Secondary Interrupt Enable Register.
IE:
SFR Address
Power-On Default Value
Bit Addressable
E
A
E
A
D
C
Bit
Name
7
EA
6
EADC
5
ET2
4
ES
3
ET1
2
EX1
1
ET0
0
EX0
IP:
SFR Address
Power-On Default Value
Bit Addressable
P
S
I
P
A
D
C
Bit
Name
7
PSI
6
PADC
5
PT2
4
PS
3
PT1
2
PX1
1
PT0
0
PX0
Interrupt Enable Register
A8H
00H
Yes
E
T
2
E
S
Table XXIII. IE SFR Bit Designations
Description
Written by User to Enable "1" or Disable "0" All Interrupt Sources
Written by User to Enable "1" or Disable "0" ADC Interrupt
Written by User to Enable "1" or Disable "0" Timer 2 Interrupt
Written by User to Enable "1" or Disable "0" UART Serial Port Interrupt
Written by User to Enable "1" or Disable "0" Timer 1 Interrupt
Written by User to Enable "1" or Disable "0" External Interrupt 1
Written by User to Enable "1" or Disable "0" Timer 0 Interrupt
Written by User to Enable "1" or Disable "0" External Interrupt 0
Interrupt Priority Register
B8H
00H
Yes
P
T
2
P
S
Table XXIV. IP SFR Bit Designations
Description
Written by User to Select SPI/I2C Priority ("1" = High; "0" = Low)
Written by User to Select ADC Interrupt Priority ("1" = High; "0" = Low)
Written by User to Select Timer 2 Interrupt Priority ("1" = High; "0" = Low)
Written by User to Select UART Serial Port Interrupt Priority ("1" = High; "0" = Low)
Written by User to Select Timer 1 Interrupt Priority ("1" = High; "0" = Low)
Written by User to Select External Interrupt 1 Priority ("1" = High; "0" = Low)
Written by User to Select Timer 0 Interrupt Priority ("1" = High; "0" = Low)
Written by User to Select External Interrupt 0 Priority ("1" = High; "0" = Low)
E
T
1
E
X
1
P
T
1
P
X
1
E
T
0
E
X
0
P
T
0
P
X
0
Need help?
Do you have a question about the MicroConverter ADuC812 and is the answer not in the manual?
Questions and answers