C8051F120/1/2/3/4/5/6/7
Rev. 1.2
147
Table 12.4. Interrupt Summary
Interrupt Source
Interrupt
Vector
Priority
Order
Pending Flags
Bit addr
essable?
Clea
re
d by
H
W
?
Enable
Flag
Priority
Control
Reset
0x0000
Top
None
N/A N/A
Always
Enabled
Always
Highest
External Interrupt 0 (/INT0)
0x0003
0
IE0 (TCON.1)
Y
Y
EX0 (IE.0) PX0 (IP.0)
Timer 0 Overflow
0x000B
1
TF0 (TCON.5)
Y
Y
ET0 (IE.1) PT0 (IP.1)
External Interrupt 1 (/INT1)
0x0013
2
IE1 (TCON.3)
Y
Y
EX1 (IE.2) PX1 (IP.2)
Timer 1 Overflow
0x001B
3
TF1 (TCON.7)
Y
Y
ET1 (IE.3) PT1 (IP.3)
UART0
0x0023
4
RI0 (SCON0.0)
TI0 (SCON0.1)
Y
ES0 (IE.4)
PS0 (IP.4)
Timer 2
0x002B
5
TF2 (TMR2CN.7)
EXF2 (TMR2CN.6)
Y
ET2 (IE.5) PT2 (IP.5)
Serial Peripheral Interface
0x0033
6
SPIF (SPI0CN.7)
WCOL (SPI0CN.6)
MODF (SPI0CN.5)
RXOVRN (SPI0CN.4)
Y
ESPI0
(EIE1.0)
PSPI0
(EIP1.0)
SMBus Interface
0x003B
7
SI (SMB0CN.3)
Y
ESMB0
(EIE1.1)
PSMB0
(EIP1.1)
ADC0 Window Comparator
0x0043
8
AD0WINT
(ADC0CN.1)
Y
EWADC0
(EIE1.2)
PWADC0
(EIP1.2)
PCA 0
0x004B
9
CF (PCA0CN.7)
CCFn (PCA0CN.n)
Y
EPCA0
(EIE1.3)
PPCA0
(EIP1.3)
Comparator 0 Falling Edge
0x0053
10
CP0FIF (CPT0CN.4)
Y
ECP0F
(EIE1.4)
PCP0F
(EIP1.4)
Comparator 0 Rising Edge
0x005B
11
CP0RIF (CPT0CN.5)
Y
ECP0R
(EIE1.5)
PCP0R
(EIP1.5)
Comparator 1 Falling Edge
0x0063
12
CP1FIF (CPT1CN.4)
Y
ECP1F
(EIE1.6)
PCP1F
(EIP1.6)
Comparator 1 Rising Edge
0x006B
13
CP1RIF (CPT1CN.5)
Y
ECP1R
(EIE1.7)
PCP1F
(EIP1.7)
Timer 3
0x0073
14
TF3 (TMR3CN.7)
EXF3 (TMR3CN.6)
Y
ET3
(EIE2.0)
PT3
(EIP2.0)
ADC0 End of Conversion
0x007B
15
AD0INT (ADC0CN.5)
Y
EADC0
(EIE2.1)
PADC0
(EIP2.1)
Timer 4
0x0083
16
TF4 (TMR4CN.7)
EXF4 (TMR4CN.7)
Y
ET4
(EIE2.2)
PT4
(EIP2.2)
ADC2 Window Comparator 0x008B
17
AD2WINT
(ADC2CN.0)
Y
EWADC2
(EIE2.3)
PWADC2
(EIP2.3)
ADC2 End of Conversion
0x0093
18
AD2INT (ADC2CN.5)
Y
EADC2
(EIE2.4)
PADC2
(EIP2.4)
RESERVED
0x009B
19
N/A
N/A N/A N/A
N/A
UART1
0x00A3
20
RI1 (SCON1.0)
TI1 (SCON1.1)
Y
ES1
(EIE2.6)
PS1
(EIP2.6)
Summary of Contents for C8051F120
Page 2: ...C8051F120 1 2 3 4 5 6 7 2 Rev 1 2 Notes ...
Page 8: ...C8051F120 1 2 3 4 5 6 7 8 Rev 1 2 26 2 Flash Programming Commands 318 26 3 Debug Support 321 ...
Page 16: ...C8051F120 1 2 3 4 5 6 7 16 Rev 1 2 Notes ...
Page 48: ...C8051F120 1 2 3 4 5 6 7 48 Rev 1 2 ...
Page 98: ...C8051F120 1 2 3 4 5 6 7 98 Rev 1 2 ...
Page 106: ...C8051F120 1 2 3 4 5 6 7 106 Rev 1 2 Notes ...
Page 183: ...C8051F120 1 2 3 4 5 6 7 Rev 1 2 183 Notes ...
Page 184: ...C8051F120 1 2 3 4 5 6 7 184 Rev 1 2 ...
Page 214: ...C8051F120 1 2 3 4 5 6 7 214 Rev 1 2 Notes ...