Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

C8051F040 View Datasheet(PDF) - Silicon Laboratories

Part Name
Description
MFG CO.
C8051F040
Silabs
Silicon Laboratories Silabs
'C8051F040' PDF : 328 Pages View PDF
C8051F040/1/2/3/4/5/6/7
12.3.2. External Interrupts
The external interrupt sources (/INT0 and /INT1) are configurable as active-low level-sensitive or active-
low edge-sensitive inputs depending on the setting of bits IT0 (TCON.0) and IT1 (TCON.2). IE0 (TCON.1)
and IE1 (TCON.3) serve as the interrupt-pending flag for the /INT0 and /INT1 external interrupts, respec-
tively. If an /INT0 or /INT1 external interrupt is configured as edge-sensitive, the corresponding interrupt-
pending flag is automatically cleared by the hardware when the CPU vectors to the ISR. When configured
as level sensitive, the interrupt-pending flag follows the state of the external interrupt's input pin. The exter-
nal interrupt source must hold the input active until the interrupt request is recognized. It must then deacti-
vate the interrupt request before execution of the ISR completes or another interrupt request will be
generated.
Table 12.4. Interrupt Summary
Interrupt Source
Interrupt
Vector
Priority
Order
Pending Flag
Enable
Flag
Priority
Control
Reset
0x0000 Top
External Interrupt 0
(/INT0)
0x0003
0
Timer 0 Overflow 0x000B 1
External Interrupt 1
(/INT1)
0x0013
2
Timer 1 Overflow 0x001B 3
UART0
0x0023 4
Timer 2
0x002B 5
Serial Peripheral
Interface
0x0033
6
SMBus Interface 0x003B 7
ADC0 Window
Comparator
Programmable
Counter Array
0x0043 8
0x004B 9
Comparator 0
0x0053 10
None
N/A N/A
IE0 (TCON.1)
YY
TF0 (TCON.5)
YY
IE1 (TCON.3)
YY
TF1 (TCON.7)
YY
RI0 (SCON0.0)
TI0 (SCON0.1)
Y
TF2 (TMR2CN.7) Y
SPIF (SPI0CN.7)
WCOL (SPI0CN.6)
MODF (SPI0CN.5) Y
RXOVRN
(SPI0CN.4)
SI (SMB0CN.3)
Y
AD0WINT
(ADC0CN.2)
Y
CF (PCA0CN.7)
CCFn (PCA0CN.n)
Y
CP0FIF/CP0RIF
(CPT0CN.4/.5)
0
Always
Enabled
Always
Highest
0 EX0 (IE.0) PX0 (IP.0)
0 ET0 (IE.1) PT0 (IP.1)
0 EX1 (IE.2) PX1 (IP.2)
0 ET1 (IE.3) PT1 (IP.3)
0 ES0 (IE.4) PS0 (IP.4)
0 ET2 (IE.5) PT2 (IP.5)
0
ESPI0
(EIE1.0)
PSPI0
(EIP1.0)
0
ESMB0
(EIE1.1)
PSMB0
(EIP1.1)
0
EWADC0
(EIE1.2)
PWADC0
(EIP1.2)
0
EPCA0
(EIE1.3)
PPCA0
(EIP1.3)
1
CP0IE
(EIE1.4)
PCP0
(EIP1.4)
154
Rev. 1.5
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]