English
Language : 

PIC16F1933_11 Datasheet, PDF (81/430 Pages) Microchip Technology – 28-Pin Flash-Based, 8-Bit CMOS Microcontrollers LCD Driver and nanoWatt XLP Technology
7.0 INTERRUPTS
The interrupt feature allows certain events to preempt
normal program flow. Firmware is used to determine
the source of the interrupt and act accordingly. Some
interrupts can be configured to wake the MCU from
Sleep mode.
This chapter contains the following information for
Interrupts:
• Operation
• Interrupt Latency
• Interrupts During Sleep
• INT Pin
• Automatic Context Saving
Many peripherals produce interrupts. Refer to the cor-
responding chapters for details.
A block diagram of the interrupt logic is shown in
Figure 7-1.
FIGURE 7-1:
INTERRUPT LOGIC
IOCBNx
D
Q
CK
R
Q4Q1
edge
detect
PIC16(L)F1933
RBx
IOCBPx
Q2
D
Q
CK
R
data bus =
0 or 1
write IOCBFx
DS Q
CK
to data bus
IOCBFx
IOCIE
from all other
IOCBFx individual
pin detectors
IOC interrupt
to CPU core
Q1
Q1
Q1
Q2
Q2
Q2
Q3
Q3
Q3
Q4 Q4
Q4
Q4
Q4Q1
Q4Q1
Q4Q1
Q4Q1
 2011 Microchip Technology Inc.
Preliminary
DS41575A-page 81