English
Language : 

C8051F2XX Datasheet, PDF (76/146 Pages) Silicon Laboratories – Mixed Signal 8 kB ISP Flash MCU Family
C8051F2xx
Table 9.4. Interrupt Summary (Continued)
Interrupt Source
Interrupt
Vector
ADC0 End of Conversion
0x007B
Software Controlled Interrupt 0 0x0083
Software Controlled Interrupt 1 0x008B
Software Controlled Interrupt 2 0x0093
Software Controlled Interrupt 3 0x009B
Unused Interrupt Location
0x00A3
External Crystal OSC Ready 0x00AB
Priority
Order
15
16
17
18
19
20
21
Interrupt-Pending Flag
ADCINT (ADC0CN.5)
SCI0 (SWCINT.4)
SCI1 (SWCINT.5)
SCI2 (SWCINT.6)
SCI3 (SWCINT.7)
None
XTLVLD (OSCXCN.7)
Enable
EADC0 (EIE2.1)
ESCI0 (EIE2.2)
ESCI1 (EIE2.3)
ESCI2 (EIE2.4)
ESCI3 (EIE2.5)
Reserved (EIE2.6)
EXVLD (EIE2.7)
9.4.4. Interrupt Priorities
Each interrupt source can be individually programmed to one of two priority levels: low or high. A low prior-
ity interrupt service routine can be preempted by a high priority interrupt. A high priority interrupt cannot be
preempted. Each interrupt has an associated interrupt priority bit in an SFR (IP–EIP2) used to configure its
priority level. Low priority is the default. If two interrupts are recognized simultaneously, the interrupt with
the higher priority is serviced first. If both interrupts have the same priority level, a fixed priority order is
used to arbitrate.
9.4.5. Interrupt Latency
Interrupt response time depends on the state of the CPU when the interrupt occurs. Pending interrupts are
sampled and priority decoded each system clock cycle. Therefore, the fastest possible response time is 5
system clock cycles: 1 clock cycle to detect the interrupt and 4 clock cycles to complete the LCALL to the
ISR. If an interrupt is pending when a RETI is executed, a single instruction is executed before an LCALL
is made to service the pending interrupt. Therefore, the maximum response time for an interrupt (when no
other interrupt is currently being serviced or the new interrupt is of greater priority) occurs when the CPU is
performing an RETI instruction followed by a DIV as the next instruction. In this case, the response time is
18 system clock cycles: 1 clock cycle to detect the interrupt, 5 clock cycles to execute the RETI, 8 clock
cycles to complete the DIV instruction and 4 clock cycles to execute the LCALL to the ISR. NOTE: If a
Flash write or erase is performed, the MCU is stalled during the operation and interrupts will not be ser-
viced until the operation is complete. If the CPU is executing an ISR for an interrupt with equal or higher
priority, the new interrupt will not be serviced until the current ISR completes, including the RETI and fol-
lowing instruction.
76
Rev. 1.6